Interview Prep/DevSecOps/Secrets Management and Identity

Explain Vault's seal/unseal process.

IntermediateConceptSecrets Management and Identity
Answer

Vault stores data encrypted with an encryption key, which is itself encrypted by a root (unseal) key. When sealed, Vault cannot decrypt anything. The unseal key is split with Shamir's Secret Sharing (for example 5 shares, threshold 3), so several operators must cooperate.

In production we use auto-unseal with a cloud KMS (AWS KMS, Azure Key Vault, GCP KMS) so restarts do not need humans, and the recovery keys are only used for privileged operations.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management and Identity