Pcornel
Security · Cloud Security

Key Management

Cheat sheet · https://pcornel.dk/topic.php?topic=5030

Back to the Topic

Answer

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.

Remember

  • Key policies decide who can use keys.
  • Enable rotation.
  • Deleting a key makes data unrecoverable.

First checks

  • aws kms list-keys; aws kms get-key-rotation-status --key-id <id> — AWS KMS
  • az keyvault key list --vault-name <v> — Azure keys
  • gcloud kms keys list --location <l> --keyring <r> — GCP

Verify in this order

data → envelope encryption → KMS key

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5030

Confirmation

Confirm action

Continue?