Storage · Data Protection
Key Management
Cheat sheet · https://pcornel.dk/topic.php?topic=4290
Answer
Key management creates, stores, rotates and revokes encryption keys, ideally in a KMS or HSM separate from the encrypted data, with backups of keys so encrypted storage remains recoverable.
Remember
- Keys belong in a KMS or HSM, not on the encrypted system.
- Back up keys or lose data.
- Rotate and revoke on schedule.
First checks
vault status / KMS health— key managerkey rotation log— rotationsrecovery key escrow report— coverage
Verify in this order
KMS → keys → encrypt/decrypt operations
Where it usually breaks
First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4290