KMS
A service that creates, stores and controls cryptographic keys and performs operations with them, so applications never handle the raw key.
In more detail
KMS stands for key management service or system. Applications ask the service to encrypt, decrypt or sign, and every use is checked against access policies and logged. Cloud providers offer them, usually backed by hardware security modules, and they commonly use envelope encryption, where a master key inside the service protects the data keys that applications use.
Examples
real_key = bytes(range(32)) # stand-in; the real key sits in a KMS or HSMStore in a KMS or HSM, never in code, config files or ticketsRelated terms
- hardware security module — A tamper-resistant device that stores keys and performs cryptography inside itself, so keys cannot be copied out.
- envelope encryption — Encrypting data locally with a data key, then encrypting that data key with a master key held in a key service, and storing both together.
- key lifecycle — The stages a cryptographic key passes through, from generation and distribution through use, rotation and storage to revocation and destruction.
- encryption key — A secret value that an encryption algorithm uses to scramble and unscramble data, so that only holders of the right key can read it.
Taught in
- Encryption At Rest: What etcd Really Holds — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Regulatory Compliance: SOC 2, HIPAA, GDPR & PCI-DSS — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- A Copy Of The Backup: etcd — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Forty Three Of Sixty: The Mock, And How To Read It — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
References
- AWS Key Management Service Developer Guide
- NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management