Security & Identity
KMS envelopes
Envelope encryption wraps a data key with a KMS key, and the data key encrypts the bulk data locally. Only the encrypted data key is stored with the data, which keeps KMS calls fixed per object.
What you will be able to do
- Explain how a data key and a KMS key split the encryption work.
- Decide where the encrypted data key and the encryption context should live.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Security & Identity
- Certificate rotationAdvanced · 4 min
Certificate rotation replaces a credential before it expires, with overlap so clients can move. Many outages come from a renewed file that the service never reloads.
- mTLSAdvanced · 4 min
Mutual TLS proves that a client holds a trusted key. The handshake does not decide what the client may do, so the application must map the identity to permissions.
- Supply chain signingAdvanced · 4 min
Signing binds an artifact's digest to an identity, and verification checks the signature against the identity the pipeline should use. Deploy by digest so that a moved…
- SBOM vulnerabilitiesAdvanced · 4 min
An SBOM lists the components in a build, and scanners match that list against advisories. Its gaps and version quirks decide what the scanner can see, so a clean scan…
- Runtime securityAdvanced · 4 min
Runtime security watches what a workload does after it starts, such as process starts and connections. Detection reports those events, and prevention stops them, so the…
- Seccomp filtersAdvanced · 4 min
Seccomp lets the kernel check each system call against a filter and refuse the ones a workload does not need. The filter sees call numbers and argument values, not the…