Key Vault and App Configuration
Keep the Cosmos DB key out of code and out of app settings. Store it in an RBAC vault, let a web app read it through a Key Vault reference, then load settings, labels and a feature flag from App Configuration.
You will learn:RBAC vaults: data roles vs OwnerSecret versions and rotationKey Vault references in App ServiceApp Configuration labels, feature flags and Key Vault references
Related lessons: Azure Key Vault: Retrieve and Rotate Secrets · Azure App Configuration: Settings and Feature Flags