Key Vault vs App Configuration: where each value belongs

Verdict: Secrets, keys and certificates go in Key Vault. Non-secret settings and feature flags go in App Configuration. App Configuration holds Key Vault references, not secret copies; the app's provider resolves them live with the app's managed identity.

CriterionKey VaultApp Configuration
StoresSecrets, keys, certificatesNon-secret settings and feature flags
Example valuesConnection strings, API keys, passwordsRetry counts, endpoint URLs, feature toggles, max page size
Secret handlingHolds the secret valueHolds only a Key Vault reference (a URI to the secret); the app's provider fetches the value from Key Vault
App accessManaged identity plus a data-plane role such as Key Vault Secrets User. App Service app settings can hold a Key Vault reference, no code changesManaged identity plus a data-plane role such as App Configuration Data Reader
Network isolationPrivate endpoint plus disable public network access for a no-internet pathPrivate endpoint; public access is denied once one is added

Rules

Traps