Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Key vault secret refresh#175

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zhiyuanliang-ms merged 67 commits intomainfromzhiyuanliang/secret-refresh
Jul 10, 2025
Merged

Conversation

@zhiyuanliang-ms
Copy link
Member

@zhiyuanliang-mszhiyuanliang-ms commentedFeb 24, 2025
edited
Loading

Why this PR?

Usage:

constsettings=awaitload("connection-string",{keyvaultOptions:{credential:credential,secretRefreshIntervalInMs:120_000// cannot less than 60 seconds}});

Allow periodic reload of key vault secrets. In this case, even if there is no change on App Configuration key-values. This feature is targeted on the scenario where user is using latest version of a secret. In this case, the key vault reference url will not change, but the secret value will change if user rotates their secret.

Secret cache

Secret with version will be cached after the initial load and whenever a secret reference of that secret is resolved, the value will always be served from the cache.

Secret with no version (which means latest), will be cached after the initial load, and it will be served from cache if the secret refresh interval is configured and not expired. Otherwise, the provider will reload it from the Key Vault.

reference:#249

@zhiyuanliang-mszhiyuanliang-ms merged commitd59f8cf intomainJul 10, 2025
5 checks passed
@zhiyuanliang-mszhiyuanliang-ms deleted the zhiyuanliang/secret-refresh branchJuly 10, 2025 02:55
@jimmyca15
Copy link
Member

🥳 🎉

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

Reviewers

@CsCherrYYCsCherrYYCsCherrYY left review comments

@linglingye001linglingye001linglingye001 left review comments

Copilot code reviewCopilotCopilot left review comments

@avaniguptaavaniguptaavanigupta approved these changes

@rossgramborossgramborossgrambo approved these changes

@RichardChen820RichardChen820RichardChen820 approved these changes

@mrm9084mrm9084Awaiting requested review from mrm9084

@EskibearEskibearAwaiting requested review from Eskibear

@jimmyca15jimmyca15Awaiting requested review from jimmyca15

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

8 participants

@zhiyuanliang-ms@jimmyca15@avanigupta@rossgrambo@CsCherrYY@RichardChen820@linglingye001

[8]ページ先頭

©2009-2025 Movatter.jp