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.
More on Secrets Management and Identity
Why is hard-coding secrets or putting them in environment variables a problem?BeginnerWhat does HashiCorp Vault provide?BeginnerWhat are Vault dynamic secrets and why are they better than static ones?IntermediateHow do Kubernetes workloads authenticate to Vault?AdvancedWhat is AWS Secrets Manager and how does it compare with SSM Parameter Store?BeginnerWhat is External Secrets Operator?Intermediate