> For the complete documentation index, see [llms.txt](https://docs.libnova.com/labdrive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libnova.com/labdrive/cookbook/getting-your-s3-storage-credentials.md).

# Getting your S3 storage credentials

## Using the Management Interface

1\. Sign in to the LABDRIVE Management Interface

2\. Click on your name and select **Access Methods**

3\. In the **S3 compatible protocol** section, click **Regenerate**

4\. Copy your **Access Keys** and **Secret Keys** and store them in a safe location. Note that more than one set of credentials can exist. &#x20;

![](/files/-Mayl5HrjKWv3r--rvcR)

{% hint style="info" %}
Please note that the Secret Key will only be displayed once. It is possible to regenerate a key, but the old key will be invalidated and any process that uses it will receive an "access denied" error.
{% endhint %}

## Using the API

1\. Use the following method to retrieve your credentials:

```
curl --request GET \
      --url "$your_labdrive_url/api/user/internal/access_methods" \
      --header "authorization: Bearer $your_labdrive_api_key"
```

![](/files/-Mb0HetkJaMmLkoXxpT-)
