Skip to content
This repository was archived by the owner on Oct 6, 2020. It is now read-only.
This repository was archived by the owner on Oct 6, 2020. It is now read-only.

Support Azure Storage emulator client with sas tokens #310

@perfectayush

Description

@perfectayush

Currently storage clients for emulator (azurite) can't be initilized with SAS tokens. KeyClient struct for emulator are created with hard-coded account key when with_emulator function is used. The blob endpoint can't be modified as these structs are private.

For writing integration tests against emulator which emulates production use cases of using SAS, it's better to allow more flexible client configuration supporting SAS token or allowing to modify blob endpoint.

I think, for better flexibility extending from_connection_string function makes more sense. Please suggest your opinion on this, I can contribute code for this

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