Tailwind Traders runs three separate applications: a payroll system, an inventory system and a customer portal. Each application uses its own database passwords, API keys and TLS certificates. An architect proposes one shared key vault for all three applications to simplify administration. The security team wants to limit the impact if any one application's credentials are compromised.
What should you recommend?
Key vaults define security boundaries for the secrets they hold. Putting many applications' secrets in one vault increases the blast radius of a security event. Separating vaults by application is the most common boundary. Combined with least-privilege access, it reduces the risk of exposing other applications' secrets if one application's identity is compromised.
- Not correct: Use one shared key vault on the Premium tier with HSM-protected keys. The Premium tier adds HSM-protected keys. It does not change the security boundary, so all secrets remain in one vault.
- Not correct: Use one shared key vault, and record each secret's owning application in secret tags. Tags hold metadata only. They do not restrict access, so the blast radius stays the same.
- Not correct: Use one shared key vault with soft delete and purge protection turned on. Purge protection blocks permanent deletion during the configured retention period. It does not reduce how many secrets are exposed when a principal with access to the vault is compromised.
- Correct: Create a separate key vault for each application with least-privilege access to its own vault. A key vault is a security boundary. Separating vaults by application and restricting access reduces the risk that a compromised application identity exposes another application's secrets.
- Design authentication and authorization solutions: Design for Azure Key VaultMicrosoft Learn
- Secure your Azure Key Vault secretsMicrosoft Learn