The full answer
Encrypt everything in transit with TLS and at rest with AWS KMS keys, and back the encryption with tight access control, private networking and logging, so encrypted data is also only reachable by the right people.
In transit
- TLS everywhere. AWS service endpoints use HTTPS; require it. For S3, a bucket policy that denies requests where
aws:SecureTransportisfalseblocks plain HTTP. Databases such as RDS and Redshift can require SSL connections (rds.force_ssl,require_ssl). - Private paths. VPC gateway endpoints (S3, DynamoDB) and PrivateLink interface endpoints keep traffic to AWS services off the public internet; bucket policies can require a specific endpoint.
- Hybrid connections. Site-to-Site VPN, or Direct Connect with MACsec or a VPN on top, for traffic from on premises.
- Certificates. AWS Certificate Manager issues and renews TLS certificates for load balancers, CloudFront and API Gateway.
At rest
- S3 encrypts every new object by default (SSE-S3). Use SSE-KMS with a customer managed key for sensitive data, so access needs both S3 and KMS permission and every use of the key is logged; enable S3 Bucket Keys to reduce KMS calls.
- EBS, RDS, Aurora, DynamoDB, Redshift, Kinesis, SQS and most other services encrypt at rest with KMS keys; turn it on at creation where it is not the default, because adding it later often means copying data.
- AWS KMS: key policies decide who can use each key; enable automatic rotation; separate keys by data sensitivity or team. For strict needs, AWS CloudHSM or keys imported from your own hardware.
- Client-side encryption for data that must stay encrypted even from the storage service.
Access control around the encryption
- IAM roles with least privilege; Block Public Access on S3; ACLs disabled; Lake Formation for table- and column-level access in data lakes.
- Secrets (passwords, API keys) in Secrets Manager, never in code.
Monitoring and proof
- CloudTrail logs API and key use; AWS Config rules flag unencrypted resources; GuardDuty detects unusual access; Macie finds sensitive data in S3; Security Hub gathers findings.
- Object Lock and versioning protect against deletion, including by ransomware.
A good answer ends with the principle: encryption protects data if storage is exposed, but most leaks come from over-broad access, so IAM, policies and logging matter as much as the cipher.
Last updated 16 October 2026
Sources