Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a client option to specify the sas token ttl and renewal buffer #1837

Merged
merged 4 commits into from
Mar 26, 2021

Conversation

abhipsaMisra
Copy link
Member

@abhipsaMisra abhipsaMisra commented Mar 18, 2021

Currently the .NET sdk requires you to implement AuthenticationWithTokenRefresh in order to be able to configure the time to live and renewal buffer value for generated sas tokens. This implementation does require some amount of customer code to be written. It is also currently not supported for edge modules created from environment.

This PR introduces an option for users to set a sas token time to live and renewal buffer value into the client options, which would be honored for the CreateFromConnectionString and CreateFromEnvironment flows.

Fix for #1818

@abhipsaMisra
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abhipsaMisra abhipsaMisra merged commit 3bc6473 into master Mar 26, 2021
@abhipsaMisra abhipsaMisra deleted the abmisr/sasTtl branch March 26, 2021 22:52
@maskimthedog
Copy link

Thanks all for expediting this request.

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

Successfully merging this pull request may close these issues.

None yet

4 participants