WasbHook

Microsoft Azure

Interacts with Azure Blob Storage through the wasb:// protocol.

View on GitHub

Last Updated: Mar. 31, 2023

Access Instructions

Install the Microsoft Azure provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

wasb_conn_idReference to the wasb connection.
public_readWhether an anonymous public read access should be used. default is False

Documentation

Interacts with Azure Blob Storage through the wasb:// protocol.

These parameters have to be passed in Airflow Data Base: account_name and account_key.

Additional options passed in the ‘extra’ field of the connection will be passed to the BlockBlockService() constructor. For example, authenticate using a SAS token by adding {“sas_token”: “YOUR_TOKEN”}.

If no authentication configuration is provided, DefaultAzureCredential will be used (applicable when using Azure compute infrastructure).

Was this page helpful?