Skip to content

blob/azureblob: Use AZURE_STORAGE_CONNECTION_STRING to figure out AccountName #3592

@Alwin-Stockinger

Description

@Alwin-Stockinger

Is your feature request related to a problem? Please describe.

When using azureblob one has to specify the AZURE_STORAGE_ACCOUNT env or specify storage_account in the connection url even if the AZURE_STORAGE_CONNECTION_STRING env variable is set.
This shouldn't be necessary, as the connection-string already contains the account name.

Describe the solution you'd like

The account name should be taken/parsed out of the connection string.

DefaultEndpointsProtocol=https;AccountName=some-account;AccountKey=very-secure;EndpointSuffix=core.windows.net => accountName=some-account

Describe alternatives you've considered

The env var AZURE_STORAGE_ACCOUNT could also be set every time when using a connection string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions