Understanding Azure App Configuration
This lesson explains why configuration is centralized, key-values and labels, Key Vault references, tiers and access control.
Learning outcomes
After completing this lesson, you will be able to:
- Explain how App Configuration complements Key Vault and app settings.
- Describe keys, labels and content types.
- Explain how Key Vault references are resolved.
- Compare the App Configuration tiers.
Why centralize configuration
An AI solution made of an API, several workers and some functions has settings that many components share: the embedding model deployment name, the vector index name, batch sizes, timeouts, the endpoint of the search service. When each component keeps its own copy in app settings, a change means editing every component and restarting each one, and copies drift apart. Azure App Configuration keeps these settings in one store that every component reads, with history, labels for environments, and the ability to change values while applications run.
App Configuration complements rather than replaces other stores. Key Vault remains the place for secrets, with hardware-backed protection, rotation and secret-level access control; App Configuration can hold references to Key Vault secrets. App settings on a host remain useful for the few values a component needs to find App Configuration itself, such as the store's endpoint.
Where does each value belong?
Key-values, labels and content types
A store holds key-values. A key is a string, often hierarchical with a separator such as a colon, for example Retrieval:TopK or Embeddings:Deployment. Each key-value can have a label, and the pair of key and label identifies it, so the same key can hold different values for different labels. Labels typically represent environments (dev, test, prod), regions or versions; a key-value without a label has the null label.
Each key-value can also have a content type, such as application/json for structured values, and tags. A single key-value, including its key, label and metadata, can be up to 10 KB. Every change is recorded in a revision history, which supports point-in-time comparison and restoring earlier values.
az appconfig kv set --name STORE --key Retrieval:TopK --value 5 --label prod --yes
az appconfig kv set --name STORE --key Retrieval:TopK --value 10 --label dev --yes
az appconfig kv set --name STORE --key Retrieval:Filters --value '{"minScore":0.75}' \
--content-type application/json --label prod --yes
az appconfig kv list --name STORE --key "Retrieval:*" --label prod -o tableThe following diagram shows a single App Configuration key and the services that load it in each environment.

Key-values and labels
Key Vault references
A Key Vault reference is a key-value whose value is the URI of a Key Vault secret, with a special content type. App Configuration stores only the URI. When an application loads configuration with the provider library, the provider sees the reference and retrieves the secret from Key Vault using the application's own credential; App Configuration never reads the secret. The application's identity therefore needs both App Configuration Data Reader on the store and Key Vault Secrets User on the vault.
az appconfig kv set-keyvault --name STORE --key Database:Password --label prod \
--secret-identifier https://VAULT.vault.azure.net/secrets/db-password --yesKey Vault references in App Configuration
Tiers and access control
App Configuration has four tiers, which differ in request quotas, storage and features. All tiers include key-values, feature flags, Key Vault references, snapshots, Microsoft Entra authentication and managed identity support.
When a store exceeds its quota or throughput, requests receive HTTP 429; the provider libraries cache settings and retry, which keeps occasional throttling harmless. Data access uses Microsoft Entra roles: App Configuration Data Reader for applications and App Configuration Data Owner for pipelines and administrators that write values. Access keys exist but can be disabled. A separate store per environment gives the strongest isolation; labels in one store are simpler when environments do not need separate permissions.
Which App Configuration tier?
One setting for many services
Six services use the name of the embedding model deployment. Each holds it in its own app settings, and when the team switched models, two services were missed and wrote embeddings from the old model, corrupting search results. Test and production use different deployments, and changes must not require redeployment.
The deployment name belongs in App Configuration as one key, such as Embeddings:Deployment, with labels test and prod. Every service loads its label's value with the provider, using a managed identity with App Configuration Data Reader, and refreshes it dynamically. A future model switch is one change in one place.
Copying the value into a shared Key Vault secret would misuse the vault for a non-secret setting and lose labels and feature management. A deployment pipeline that rewrites six app settings still restarts six services and can still miss one.
When an application loads a Key Vault reference from App Configuration, which identity reads the secret?
Show answer
The application's own identity, through the provider. App Configuration stores only the URI, so the application needs Key Vault Secrets User as well as App Configuration Data Reader.
Exam Tips
Remember for the exam
- A key-value is identified by key and label; labels usually represent environments.
- Key Vault references store only the secret URI; the application's identity reads the secret.
- Applications need App Configuration Data Reader; writers need Data Owner.
- Free tier allows 1,000 requests per day; quota overruns return HTTP 429.