[Feature Req][Azure.Extensions.AspNetCore.Configuration.Secrets] Ability to lazily load secrets from Azure KV #18410
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Extensions
ASP.NET Core extensions
feature-request
This issue requires a new behavior in the product in order be resolved.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Milestone
Our code uses
Azure.Extensions.AspNetCore.Configuration.Secrets
package to load secrets from KV into configuration instance during app startup. Since there is no option but to load all secrets at once from KV, when multiple app instances are trying to connect to KV during startup, KV throttles us.And during high loads, when we scale up the number of VMs/instances, all of these instances try to come up at the same time and try to read it from KV and KV keeps throttling us.
Service Fabric cluster doesn't take to startup failures pretty well and it keeps aggressively retrying to startup which further worsens the load on KV!
The app does not need 'ALL' the secrets in the keyvault during start-up, it only needs a subset. So, please add the ability to lazily load secrets on demand from KV.
The text was updated successfully, but these errors were encountered: