Azure / Azure/azure-functions-host
Sharing same key vault for storing azure web job secret for app and slot(Or two different app) is not working
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
I was working on a setup with AzureWebJobsSecretStorageKeyVaultUri where the access keys will be stored inside the key vault for both Prod and stage slot. During this setup I observed for both stage and prod slot , the secrets are stored with same name as shown below in the screenshot for both master and function keys. So in this case, both stage and prod will be stored using the same name if the cx is using the same key vault in stage and prod slot.There is no differentiation in the app name while storing the secrets in the key vault.
• Can we append function app host name to this key which will allow cx to store secrets of different apps in same key vault?

Contributor guide
Research direction
Start by reproducing the reported setup with AzureWebJobsSecretStorageKeyVaultUri for production and stage slots, using one Key Vault for both. Inspect how master and function keys are currently named and stored, then define and verify a naming scheme that distinguishes app or slot secrets without breaking existing storage or retrieval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100