Skill 4.1.8

Configuring encryption of log data (for example, AWS KMS)

Key Concepts

CloudWatch Logs encrypts log data with service-owned keys by default. To use a customer managed KMS key, associate it with the log group (associate-kms-key or at creation). The key policy must allow the logs.<region>.amazonaws.com service principal, usually with an encryption context condition on the log group ARN; otherwise the association fails.

CloudTrail can encrypt log files with SSE-KMS (key policy must allow CloudTrail), S3 log buckets can enforce SSE-KMS with default encryption and bucket policies, and Firehose can encrypt data in its delivery stream. Data in transit uses TLS for all AWS API endpoints.