Microsoft Azure Data Lake Connection¶
The Microsoft Azure Data Lake connection type enables the Azure Data Lake Integrations.
Authenticating to Azure Data Lake¶
There is one way to connect to Azure Data Lake using Airflow.
Use token credentials i.e. add specific credentials (client_id, secret, tenant) and account name to the Airflow connection.
Default Connection IDs¶
All hooks and operators related to Microsoft Azure Data Lake use azure_data_lake_default
by default.
Configuring the Connection¶
- Login
Specify the
client_id
used for the initial connection. This is needed for token credentials authentication mechanism.- Password
Specify the
secret
used for the initial connection. This is only needed for token credentials authentication mechanism.- Extra (optional)
Specify the extra parameters (as json dictionary) that can be used in Azure Data Lake connection. The following parameters are all optional:
tenant
: Specify the tenant to use. This is needed for token credentials authentication mechanism.account_name
: Specify the azure data lake account name. This is sometimes called thestore_name
When specifying the connection in environment variable you should specify it using URI syntax.
Note that all components of the URI should be URL-encoded.
For example:
export AIRFLOW_CONN_AZURE_DATA_LAKE_DEFAULT='azure-data-lake://client%20id:secret@?tenant=tenant+id&account_name=store+name'