> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting to Azure Files

In CData Sync, you can connect to Azure Files in several ways. Select your authentication method below, then proceed to the relevant section and follow those instructions.

* [**Azure Access Key**](#azure-access-key)
* [**Azure Shared Access Signature**](#azure-shared-access-signature)

### Azure Access Key

To connect with an Azure access key, set the following properties:

<ul><li>**Auth Scheme:** Select **Access Key**.</li>
<li>**Azure Access Key:** Enter the access key that is associated with your storage account.</li></ul>

To retrieve your access key:

<ol><li>Sign in to the [Azure portal](https://portal.azure.com/) with the credentials for your root account.</li>
<li>Click **Storage accounts** and select the storage account that you want to use.</li>
<li>Under **Settings**, click **Access keys**. Your storage account name and key are displayed on that page.</li></ol>

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### Azure Shared Access Signature

To connect with an Azure shared access signature, set the following properties:

<ul><li>**Auth Scheme:** Select **AzureStorageSAS**.</li>
<li>**Azure Shared Access Signature:** Enter the shared access signature that is associated with the storage account.</li></ul>

To create an Azure shared access signature:

<ol><li>Sign in to the [Azure portal](https://portal.azure.com) with the credentials for your root account.</li>
<li>Click **Storage accounts** and select the storage account you want to use.</li>
<li>Under **Settings**, click **Shared Access Signature**.</li>
<li>Set the permissions and a date when the token will expire.</li>
<li>Click **Generate SAS** and copy the token that is generated.</li></ol>

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.