> For the complete documentation index, see [llms.txt](https://legacy-docs.aquariumlearning.com/aquarium/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.aquariumlearning.com/aquarium/data-privacy/data-sharing-methodologies/generate-local-credentials-from-aws.md).

# Generate Local Credentials from AWS

How to generate local credentials from your storage bucket provider to work with Aquarium

## Overview

Aquarium works with local credential files for both AWS and GCP! If your data is stored in a location outside of one of these two providers please contact Aquarium for a recommendation!

## Steps to Generate a Local Credentials File

### Navigate to IAM Dashboard

You can access it by searching "IAM" in the AWS console top bar to get to the Identity and Access Management page.

<figure><img src="https://391596125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MI6IGz_3V5m6p1UIhXm%2Fuploads%2FsTrqdXUAXzGphovcCWoC%2Fimage%20(8).png?alt=media&amp;token=4f24a90d-0e0a-4ad0-86a0-93da96414202" alt=""><figcaption></figcaption></figure>

### Navigate to the Users Tab

<figure><img src="https://391596125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MI6IGz_3V5m6p1UIhXm%2Fuploads%2F1wkPHi6XiEfPpaAclRb8%2Fimage%20(9).png?alt=media&amp;token=55b637fd-d333-42ff-a352-7624536a8931" alt=""><figcaption></figcaption></figure>

To access the `User` tab, you will need proper permissions. Otherwise, you can create a new user with the appropriate access policy (`AmazonS3ReadOnlyAccess` should be sufficient)

### Navigate to Security Credentials Tab

Click on a user, then click on the security credentials tab. You'll see a place where you can create an access key for that user:

<figure><img src="https://391596125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MI6IGz_3V5m6p1UIhXm%2Fuploads%2FtsWrKpYCqC5WvezwrZ7D%2Fimage%20(10).png?alt=media&amp;token=7ab2af2f-c28c-4883-a39f-289c3dc86c56" alt=""><figcaption></figcaption></figure>

Alternatively, if you already use AWS utilities on the commandline and have your local `awscli` configured, they can just point aquarium at that file, and it'll read from there when needed:

```
# Should be here
~/.aws/credentials
```

As a step towards doing that, you'll had to have created a personal access key (you as a root user tied to your email login, not a virtual IAM user).There's a dropdown in the very top-right which has an option called "Security credentials." Clicking on that will get you to a very similar page, where you can create access keys for your root user:image.png&#x20;

<figure><img src="https://391596125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MI6IGz_3V5m6p1UIhXm%2Fuploads%2FLSjPejiax849c8DlD0tn%2Fimage%20(11).png?alt=media&amp;token=a2d6be3b-b77e-45ca-836c-4c28933f9869" alt=""><figcaption></figcaption></figure>

[<br>](https://files.slack.com/files-pri/TTH494W85-F04H8R7NTGV/image.png)
