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

Support Azure Storage emulator client with sas tokens #310

Open
perfectayush opened this issue Jul 5, 2020 · 0 comments
Open

Support Azure Storage emulator client with sas tokens #310

perfectayush opened this issue Jul 5, 2020 · 0 comments

Comments

@perfectayush
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant