Skip to content

Expose azure::split_sas for custom SAS credential providers #720

@dbatomic

Description

@dbatomic

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

MicrosoftAzureBuilder already parses raw SAS strings into the Vec<(String, String)> accepted by AzureCredential::SASToken, but the parser (split_sas) is private. Users implementing their own CredentialProvider<Credential = AzureCredential> — e.g. fetching short-lived SAS tokens from a secret broker — have to reimplement it. Naive reimplementations using form_urlencoded mis-decode + as space, corrupting base64-encoded SAS signatures.

Make split_sas pub and re-export it from object_store::azure.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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