Use this when managing encryption keys in cloud KMS services.
Key Management
Cloud key management uses services like AWS KMS, Azure Key Vault or Google Cloud KMS to create, rotate and control encryption keys with IAM policies and audit logs, often backed by HSMs.
1. Cloud KMS manages encryption keys with IAM and audit.
2. Customer-managed keys for control.
3. Rotation enabled.
4. Separation of duties (key admins vs users).
5. Protect against deletion (waiting periods).
data → envelope encryption → KMS key
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Keys without rotation or with broad key-use permissions.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Key policies decide who can use keys.
- Enable rotation.
- Deleting a key makes data unrecoverable.
aws kms list-keys; aws kms get-key-rotation-status --key-id <id>— AWS KMSaz keyvault key list --vault-name <v>— Azure keysgcloud kms keys list --location <l> --keyring <r>— GCP
ReferenceWhy it matters1 section · depth on demand
Key management practices
- Customer-managed keys (CMK) for sensitive data; provider-managed keys are fine for the rest.
- Separate key administrators from data users; key policies with least privilege.
- Automatic rotation (yearly or as required); log all key use.
- Protect against deletion (soft delete, purge protection in Azure Key Vault, deletion waiting period in KMS).
- HSM-backed keys (CloudHSM, Managed HSM) when FIPS 140-3 Level 3 is required.
ReferenceImportant terms & boundaries2 sections · depth on demand
Key options
| Option | Who controls the key |
|---|---|
| Provider-managed keys | Provider, fully transparent |
| Customer-managed keys (CMK) | You, in the provider's KMS |
| Bring your own key (BYOK) | You generate, import into KMS |
| Hold your own key (HYOK/EKM) | Key stays in your HSM outside the cloud |
More control means more responsibility — a deleted key makes the data unrecoverable.
In depth
Cloud key management services — AWS KMS, Azure Key Vault (keys/Managed HSM), Google Cloud KMS — create and protect encryption keys and perform cryptographic operations, so keys never leave the service in plain form. They underpin encryption of storage, databases and secrets.
| Key option | Control |
|---|---|
| Provider-managed keys | Simplest; provider controls lifecycle |
| Customer-managed keys (CMK) | You control policies, rotation, disabling |
| Bring your own key (BYOK) | Key generated on-premises, imported |
| Hold your own key (HYOK/external key manager) | Key stays outside the provider |
Restrict key administration separately from key usage, enable automatic rotation, log key use, and protect against accidental deletion (deletion waiting periods) — losing a key means losing the data.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Cloud Security → Key Management. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/210/final · confidence 94%