key lifecycle
The stages a cryptographic key passes through, from generation and distribution through use, rotation and storage to revocation and destruction.
In more detail
Key management means controlling every stage: generating keys from a secure random source, storing them in a KMS or HSM rather than in code, limiting how long each key is used, and destroying it safely when it retires. Each stage is a chance to lose or leak the key, and a strong algorithm is worthless if its key is mishandled. NIST SP 800-57 is the standard reference for key management practice.
Example
Store in a KMS or HSM, never in code, config files or ticketsRelated terms
- key rotation — Replacing a password or key with a new one on a schedule or after a suspected leak, and re-encrypting what it protected.
- cryptoperiod — The length of time a particular key is allowed to be used before it must be replaced.
- key destruction — Permanently removing every copy of a cryptographic key so that nothing encrypted with it can ever be decrypted again.
- KMS — A service that creates, stores and controls cryptographic keys and performs operations with them, so applications never handle the raw key.
Taught in
- Regulatory Compliance: SOC 2, HIPAA, GDPR & PCI-DSS — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography