Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Add a public set_storage_credentials method in cloud_client #303

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

scharan
Copy link

@scharan scharan commented Nov 5, 2019

This is useful/needed to swap between primary and secondary shared access keys without recreating the client, in conjunction with retries and retry handling in azure::storage::operation_context::set_response_received.

This is useful/needed to swap between primary and secondary shared access keys without recreating the client, in conjunction with retries and retry handling in azure::storage::operation_context::set_response_received.
@katmsft
Copy link
Member

katmsft commented Nov 6, 2019

Hi, thanks for the contribution!
Can you elaborate the user scenario needed to swap between keys when retrying?
Also, this change will make the cloud_client loose thread-safety. If it the use case can be justified, the PR still needs to be modified so that the cloud_client is thread safe.

@katmsft katmsft changed the base branch from master to dev November 6, 2019 01:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants