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 HSM
Store in a KMS or HSM, never in code, config files or tickets

Related terms

Taught in

References

Certification courses