# Azure Metadata Reader

Azure Metadata Reader is designed to read and access metadata associated with Azure resources. Azure Metadata Readers typically authenticate with Azure using Azure Active Directory credentials or other authentication mechanisms supported by Azure.

All component configurations are classified broadly into the following sections:

* ​[​Basic Information​](https://docs.bdb.ai/data-pipeline/components/component-base-configuration)​
* Meta Information
* [Resource Configuration​](https://docs.bdb.ai/data-pipeline/components/resource-configuration)​
* ​[Connection Validation](https://docs.bdb.ai/7.6/data-pipeline/components/connection-validation)

{% hint style="success" %}
*Please follow the demonstration to configure the component.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Fpa5JeR26gXkaZpzPQUjT%2Fazure%20metadata%20reader%20(online-video-cutter.com).mp4?alt=media&token=473b5ed7-7265-4291-b5d5-5d0782285fe4>" %}

## Configuring the Meta Information tab fields <a href="#configuring-the-over-all-meta-information-tab-fields" id="configuring-the-over-all-meta-information-tab-fields"></a>

* **Read using:** There are three(3) options available under this tab:
  1. **Shared Access Signature:**
  2. **Secret Key**
  3. **Principal Secret**&#x20;

### Read using **Shared Access Signature**

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Fsc8RmSWTlaKBrPyS4bb4%2FMicrosoftTeams-image%20(92).png?alt=media&#x26;token=c5e3ba8f-70b4-4658-9ee1-5580d528e7dc" alt=""><figcaption></figcaption></figure>

**Provide the following details:**

1. **Shared Access Signature:** This is a URI that grants restricted access rights to Azure Storage resources.
2. **Account Name:** Provide the Azure account name.
3. **Container:** Provide the container name from where the file is located and which has to be read.
4. **Path type:** There are options available under it.

   * **Directory Path**
   * **Blob Name:** Provide the Azure Blob name.

### Read using Secret Key

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FdG4tkwkxyxLZ1o4hQjSr%2FMicrosoftTeams-image%20(93).png?alt=media&#x26;token=b5281d16-21f6-4de6-b5bc-26c8520966c7" alt=""><figcaption></figcaption></figure>

**Provide the following details:**

1. **Account Key:** It is be used to authorize access to data in your storage account via Shared Key authorization.
2. **Account Name:** Provide the Azure account name.
3. **Container:** Provide the container name from where the file is located and which has to be read.
4. **Path type:** There are options available under it.
   * **Directory Path**
   * **Blob Name:** Provide the Azure Blob name.

### Read using Principal Secret

<figure><img src="https://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FILoDTLowHRCtDFJmhH3t%2FMicrosoftTeams-image%20(95).png?alt=media&#x26;token=36c406d1-e8d1-4a50-80d5-be903fb10847" alt=""><figcaption></figcaption></figure>

**Provide the following details:**

1. **Client ID:** The client ID is the unique Application (client) ID assigned to your app by Azure AD when the app was registered.
2. **Tenant ID:** It is a globally unique identifier (GUID) that is different than your organization name or domain.
3. **Client Secret:** The client secret is the password of the service principal.
4. **Account Name:** Provide the Azure account name.
5. **Container:** Provide the container name from where the file is located and which has to be read.
6. **Path type:** There are options available under it.
   * **Directory Path**
   * **Blob Name:** Provide the Azure Blob name.


---

# 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://docs.bdb.ai/data-pipeline/components/readers/azure-metadata-reader.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.
