[Feature Request] Key Vault Secrets only load on startup
mrm9084 opened this issue · 2 comments
Environment
- Spring boot starter:
azure-keyvault-secrets-spring-boot-starter
-
OS Type: Windows
-
Java version:
- 1.8
Summary
A feature should be added to the starter that allows secrets to be loaded only on startup. The not setting refreshing the refresh doesn't work when using another external configuration provider. i.e. spring-clould-azure's Azure App Configuration provider. When Azure App Configuration reloads configurations the Key Vault Secrets are also reloaded, which isn't desired.
Also mentioned here: Azure/AppConfiguration#306 (comment)
Reproduce steps
Using both azure-keyvault-secrets-spring-boot-starter and spring-cloud-azure-appconfiguration-config-web results in unwanted key vault reloads.
Expected Results
Be able to configure azure-keyvault-secrets-spring-boot-starter to only load on startup.
Actual Results
azure-keyvault-secrets-spring-boot-starter is loaded every time App Configuration reloads.
Closing this issue.
Because it's not active for a long time.
If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues