# AWS Identities

### Generating a Decube AWS Identity

* Step 1: Go to My Account → Integrations → Identities.
* Step 2: Click on **⊕ Add new**

{% hint style="info" %}
You can create up to 5 active Decube AWS Identities at one time.
{% endhint %}

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-38e33225b1db44da23af8e6a03c7fcefb3399168%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Step 3: Name the identity. This name will be shown in the Data Source form when adding/modifying connection to the data source.

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-e8a6855a99b484cbe5585263850588d5a1bb998c%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Step 4: Take note of the **ARN** and **External ID**.

{% hint style="info" %}
The ARN and External ID are unique to your organisation. These values will be used when setting up the **AWS Role**.
{% endhint %}

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-06a44b215f393eb7fb04cb8f1386ec946dcd14b7%2Fimage.png?alt=media" alt=""><figcaption><p>New AWS Identity was sucessfully added</p></figcaption></figure>

To understand how to use the AWS Identities in a specific data source connection, please go to the respective data sources page and see the section on **AWS Roles**. Link to the docs: [aws-glue](https://docs.decube.io/transformation-tools/aws-glue "mention"), [s3](https://docs.decube.io/datalake/s3 "mention") [dbt-core](https://docs.decube.io/transformation-tools/dbt-core "mention").

### Deleting a Decube AWS Identity

{% hint style="info" %}
Before you can delete a Decube AWS Identity, you need to ensure it is not being used as a connection option in any connected data sources.
{% endhint %}

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-98d3e9dfa34969d7f5bc38350a1bdbffc2631a16%2Fimage.png?alt=media" alt=""><figcaption><p>Example of an identity is being used by a data source</p></figcaption></figure>

* Step 1: Click on the bin icon on right side. Make sure the identity you want to delete is not being used by any connected data sources.

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-6cc9ff4e098b995025084ff70f9b2ce6dee78795%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Step 2: Enter "`Delete`" to confirm the deletion.

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-77c1c696b0821eb55c07987d98347a4175ed6f7e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* You will see a success message once the identity was successfully deleted.

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-ddbd90064d45e4b4d985a368906051de18db0441%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
