How do you run Vault in production for high availability?
AdvancedProductionSecrets Management Architecture
Answer
- Integrated storage (Raft) with 5 nodes across 3 availability zones (tolerates 2 failures).
- Auto-unseal with a cloud KMS so nodes recover without humans holding key shares.
- TLS everywhere, the API behind an internal load balancer that health-checks
/v1/sys/health. - Automated Raft snapshots (
vault operator raft snapshot save) to encrypted, versioned storage, with restore drills. - Audit devices enabled (at least two, so Vault does not block if one fails) shipped to the SIEM.
- Enterprise adds DR and performance replication across regions.
seal "awskms" {
region = "ap-south-1"
kms_key_id = "alias/vault-unseal"
}
More on Secrets Management Architecture
How would you design a secrets management architecture for a multi-cloud, multi-cluster company?AdvancedVault vs AWS Secrets Manager: how do you choose in production?IntermediateHow do you solve the "secret zero" problem?IntermediateHow do Vault dynamic database credentials work operationally, and what can go wrong?AdvancedHow does AWS Secrets Manager rotation work under the hood?IntermediateHow do you rotate a secret without downtime?Intermediate