Skip to content

Support for Azure DNS Zone endpoints #1550

@katlyn

Description

@katlyn

Azure DNS Zone endpoints for storage accounts are a preview feature that allow more storage accounts to be created within a given subscription, but the format of the endpoint URL is different from standard endpoints: https://<storage-account>.z[00-50].blob.storage.azure.net, rather than https://<storage-account>.blob.core.windows.net. Due to this, it is currently not possible to use DNS Zone endpoints when creating an AzureStorage without a connection string.

Attempted workaround

Being able to specify account_url in the options for AzureStorage would allow usage of these endpoints, with minimal changes to logic elsewhere. However, currently django-storages passes account_url to BlobServiceClient()'s constructor as a positional argument, and as such cannot be overridden with a value in the client_options dict.

Additional information: https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview#azure-dns-zone-endpoints-preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions