# Connection Details for Azure Data Lake Gen 2 and Azure Blob Storage

{% hint style="info" %}
**Note:** The same method below applies to Azure Blob Storage authentication for Astera.
{% endhint %}

To connect to Azure Data Lake Gen 2 and Azure Blob Storage Account in Astera, you need to have the access token or SAS keys. Follow the steps below to obtain authentication specifications from your Microsoft Azure account.

1. Login to your account, follow the link; [portal.azure.com](https://portal.azure.com/)
2. After you log in, go to *Storage Accounts*.

Either search for it via the search bar or go to the menu bar from the top-left corner and open storage accounts.

![](/files/lBnJbf476H93uzgRtWNi)

3. A list of all the storage accounts would appear.

Select the one that you want.

{% hint style="info" %}
**Note**: We’ve chosen the *datalakestr* account in this case.
{% endhint %}

![](/files/RgWsb9x4wWvWxX4eWIgX)

### Authentication Methods

There are two authentication methods for connecting to Azure Data Lake Gen 2 and Azure Blob Storage.

* Access Keys
* Shared Access Signature

#### Authentication Method: Access Keys

1. On the selected storage dashboard window, go to *Security + Networking* and select *Access Keys*.

![](/files/KCwsXN4KHofEBcH8aDd2)

A new windowpane would open with all your access keys for the selected storage account. You need the *Storage Account Name* and *Access Key* to connect to Astera.

2. Select *Show Keys* to preview the keys and copy them.

![](/files/1DgEN4fjs8UoHRyC8jWc)

You can now use the copied access key to connect to Azure Data Lake Gen 2 and Azure Blob Storage in Astera.

#### Authentication Method: Shared Access Signature

1. On the selected storage dashboard window, go to *Security + Networking* and select *Shared Access Signature*.

![](/files/PRooAMBTtvq3wygPsPzv)

A new windowpane would open where you can configure *Shared Access Signature* settings for the access keys according to your requirements.

2. Click on *Generate SAS and Connection String* when you’re ready to generate the key.

![](/files/H8yEBMyn6DRfjIKV7qHf)

You would need the *Blob* Service *SAS URL* for the *Shared Access Signature* *Authentication Method* in Astera Data Stack.

![](/files/yZaa6kIsL6hhYppl2uee)

You can now use the copied URL to connect to Azure Data Lake Gen 2 and Azure Blob Storage in Astera Data Stack.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/astera-data-stack-v10/connectors/connection-details-for-azure-data-lake-gen-2-and-azure-blob-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
