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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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