Skill 2.2.1

Implement encryption at rest by using customer managed keys and automatic key rotation (for example, by using AWS KMS).

Key Concepts

At rest: KMS customer managed keys per application or data classification, key policies separating administrators from users, grants for services, automatic rotation, multi-Region keys for replicated data, and CloudHSM, custom key stores or external key stores when keys must be in dedicated or customer-held HSMs. Enforce with SCPs and Config rules (deny unencrypted volumes or uploads).

In transit: TLS with ACM public certificates and AWS Private CA for internal and mutual TLS; MACsec or IPsec for Direct Connect; enforce HTTPS with bucket policies (aws:SecureTransport), ALB/CloudFront security policies and RDS SSL parameters.

Automatic rotation of a symmetric customer managed key creates new key material on a schedule that can be set from 90 to 2,560 days (default 365); KMS keeps all previous versions, so existing data is still decrypted without re-encryption. On-demand rotation rotates immediately, for example after a suspected exposure. Asymmetric keys, HMAC keys and keys with imported material that is not rotated on demand need manual rotation by creating a new key and moving the alias.