AzureSDKForRust icon indicating copy to clipboard operation
AzureSDKForRust copied to clipboard

Support Azure Storage emulator client with sas tokens

Open perfectayush opened this issue 4 years ago • 0 comments

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

perfectayush avatar Jul 05 '20 22:07 perfectayush