# 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;

![](https://2290386118-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVFE6MnOK93sACDCxxx%2F-MayOQwvZ5b1BMasRxmk%2F-Mayl5HrjKWv3r--rvcR%2Fimage.png?alt=media\&token=18cffd22-aa43-4e10-ac0f-c54f2b411e49)

{% 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"
```

![](https://2290386118-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVFE6MnOK93sACDCxxx%2F-Mb0E6UqiUBUUwCoOe_c%2F-Mb0HetkJaMmLkoXxpT-%2Fimage.png?alt=media\&token=a2c71dcc-7083-4c6a-997e-0715360039a5)
