KEK
A key used only to encrypt other keys, never data directly.
In more detail
KEK stands for key encryption key. It stays inside a key management service or hardware security module, and applications send it data keys to wrap or unwrap rather than ever seeing it. Because it protects many data keys, it is rotated on a regular schedule, which is cheap since only the small wrapped keys change. Older documents sometimes call it a master key.
Example
kek_v1, kek_v2 = demo_key("kek v1, demo"), demo_key("kek v2, demo")Related terms
- DEK — The key that actually encrypts a piece of data, such as a file, database or disk, in envelope encryption.
- 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 wrapping — Encrypting one key with another key, using an algorithm designed for keys such as AES key wrap.
- KMS — A service that creates, stores and controls cryptographic keys and performs operations with them, so applications never handle the raw key.
Taught in
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography