Pcornel
Security · Cloud Security

Cloud Encryption

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

Back to the Topic

Answer

Cloud encryption protects data in cloud storage, databases and traffic with provider-managed or customer-managed keys from a KMS. Customer-managed keys give more control over access and deletion.

Remember

  • Customer-managed keys give control over access and deletion.
  • Key policies matter as much as IAM.
  • Encryption in transit is separate.

First checks

  • aws s3api get-bucket-encryption --bucket <b> — S3
  • aws ec2 get-ebs-encryption-by-default — EBS default
  • az storage account show -n <a> --query encryption — Azure storage

Verify in this order

resource → default encryption → KMS

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=5031

Confirmation

Confirm action

Continue?