When rotating the Master Key while using HSM Auto-Unseal, what happens to the existing HSM key?
Trap 1: Vault generates a new HSM key and destroys the configuration for…
Vault maintains key history.
Trap 2: The HSM key is immediately deleted to prevent rollback.
The old key is retained to allow for decryption of existing data.
Trap 3: The HSM key is unaffected; only the Vault Master Key changes.
The Master Key is derived or protected by the HSM key, so the HSM key must be managed.
- A
The HSM key is rotated automatically in the HSM.
Vault handles the key versioning and requests the HSM to perform the necessary cryptographic operations.
- B
Vault generates a new HSM key and destroys the configuration for the old one.
Why wrong: Vault maintains key history.
- C
The HSM key is immediately deleted to prevent rollback.
Why wrong: The old key is retained to allow for decryption of existing data.
- D
The HSM key is unaffected; only the Vault Master Key changes.
Why wrong: The Master Key is derived or protected by the HSM key, so the HSM key must be managed.