dlt.common.configuration.specs.azure_credentials
AzureCredentialsBase Objects
@configspec
class AzureCredentialsBase(CredentialsConfiguration,
WithObjectStoreRsCredentials)
azure_account_host
Alternative host when accessing blob storage endpoint ie. my_account.dfs.core.windows.net
is_external_session
def is_external_session() -> bool
Tells if default credentials are an azure-identity credential passed by the user
_AzureExternalSession Objects
class _AzureExternalSession()
Mixin enabling azure credentials with defaults to accept a user-passed azure-identity
credential (e.g. DefaultAzureCredential) as an always-frozen external session.
parse_native_representation
def parse_native_representation(native_value: Any) -> None
Imports an azure-identity credential exposing get_token
AzureCredentialsWithoutDefaults Objects
@configspec
class AzureCredentialsWithoutDefaults(AzureCredentialsBase,
WithPyicebergConfig)
Credentials for Azure Blob Storage, compatible with adlfs
azure_sas_token_permissions
Permissions to use when generating a SAS token. Ignored when sas token is provided directly
azure_sas_token_expiration_hours
Lifetime in hours of the account SAS token minted from an account key. The minted SAS does not auto-refresh.
to_adlfs_credentials
def to_adlfs_credentials() -> Dict[str, Any]
Return a dict that can be passed as kwargs to adlfs