This page hasn’t yet been updated for Airflow 3. The concepts shown are relevant, but some code may need to be updated. If you run any examples, take care to update import statements and watch for any other breaking changes.
wasb protocol, which means you can connect with any Azure Storage account including Azure Data Lake Gen 1 and Azure Data Lake Gen 2.
Prerequisites
- The Astro CLI.
- A locally running Astro project.
- An Azure storage account.
- Permissions to access blob data from your local Airflow environment.
Get connection details
To create an Azure Blob Storage connection in Airflow, you can use any of the following methods:Create your connection
Astro users can also create connections using the Astro Environment Manager, which stores connections in an Astro-managed secrets backend. These connections can be shared across multiple deployed and local Airflow environments. See Create Airflow connections in the Astro UI.
How it works
Airflow uses the Azure SDK for Python to connect to Azure services through theWasbHook.
See also
- Apache Airflow Microsoft Azure provider package documentation.
- Azure blob storage modules in the Airflow Registry.
- Import and export Airflow connections using Astro CLI.