VAULT-ASSOCIATE-002 · Question #25
The Vault encryption key is stored in Vault's backend storage.
The correct answer is B. False. The Vault encryption key is never stored directly in the backend storage; instead, a cryptographically sealed version of the master key is stored, which requires unsealing to be operational.
Question
Options
- ATrue
- BFalse
How the community answered
(29 responses)- A7% (2)
- B93% (27)
Why each option
The Vault encryption key is never stored directly in the backend storage; instead, a *cryptographically sealed* version of the master key is stored, which requires unsealing to be operational.
Storing the unencrypted Vault encryption key directly in the backend storage would negate the purpose of Vault's security model, as the backend storage could then be compromised to access all secrets.
Vault employs a security barrier that encrypts all data written to the backend storage using a master key. This master key itself is never stored unencrypted in the backend; instead, it's split into key shares using Shamir's Secret Sharing or an auto-unseal mechanism, and these shares or unseal keys are used to reconstruct the master key to unseal Vault.
Concept tested: Vault's unseal process and master key storage
Source: https://developer.hashicorp.com/vault/docs/concepts/seal
Topics
Community Discussion
No community discussion yet for this question.