AWS Data Security Controls: KMS Encryption, S3 Encryption, and Key Management
Data security controls on AWS are the encryption, key-management, access, retention and recovery mechanisms that protect data at rest and in transit to a stated requirement — and in SAA-C03 scenarios the requirement, not the act of switching encryption on, decides the answer. Nearly every scenario ends with data sitting in S3, EBS, RDS or DynamoDB, and the decisions that matter are ownership decisions: who controls the encryption key (AWS, you through KMS key policies, or you alone through CloudHSM or client-side encryption), who can read the data (IAM, bucket and key policies, Block Public Access), which path the data travels (TLS enforced end to end, private endpoints), and how long the data must survive unchanged and recoverable (Object Lock, versioning, lifecycle rules, replication, AWS Backup). This lesson covers the full scope of Task 1.3: KMS key types, key policies and grants, CloudHSM and external key stores, S3 encryption options, EBS and RDS encryption paths, TLS and ACM certificates, key rotation and certificate renewal, data governance and classification, and compliance-driven retention, backup and replication — each framed as the decision rule behind the question.
What you’ll learn
- Choose between AWS owned, AWS managed and customer managed KMS keys, CloudHSM, and external key stores based on control, audit, cost and tenancy requirements
- Write KMS key policies that separate key administrators from key users, delegate to IAM, scope use with kms:ViaService, and share keys or grants across accounts
- Select the right S3 encryption option (SSE-S3, SSE-KMS with Bucket Keys, DSSE-KMS, SSE-C, client-side) for a stated compliance, audit or cost requirement
- Encrypt existing unencrypted EBS volumes and RDS databases, including a minimal-downtime RDS migration
- Design TLS with ACM certificates in the right Region, enforce HTTPS on CloudFront, ALB, S3 and RDS, and know which certificates renew themselves
- Configure KMS key rotation (automatic period, on demand, imported material) and manage key deletion safely
- Prevent and detect data exposure with Block Public Access (organization, account, bucket), CloudFront origin access control, Macie, GuardDuty S3 Protection and IAM Access Analyzer
- Map retention and recovery requirements to Object Lock, lifecycle rules, S3 Replication, AWS Backup plans and Vault Lock
The 10 parts · about 24 min of reading
- Encryption at restStart hereDefault keys give plain encryption; editable policies, cross-account use or custom rotation all require a customer managed key.2 min
- KMS key policies, grants, and cross-account accessNo one uses a KMS key unless its key policy allows it; split administrators from users, and cross-account use needs the key policy and IAM.2 min
- AWS KMS vs AWS CloudHSMKMS already meets FIPS 140-3 Level 3; choose CloudHSM only when compliance demands single-tenant HSMs or exclusive control of key material.3 min
- Encryption in transitACM certificates are regional except CloudFront's in us-east-1, and encryption is enforced by redirects, policies or DB parameters.2 min
- Key rotation and certificate renewalKMS rotation keeps the key ID and old material, so nothing is re-encrypted; ACM renews DNS-validated certificates but never imported ones.2 min
- S3 encryption optionsNo key requirement means SSE-S3, audit or control means SSE-KMS with a customer managed key, and never-see-plaintext means client-side.3 min
- EBS and RDS encryptionEncryption is set at creation and never toggled in place, so existing EBS volumes and RDS instances go through an encrypted snapshot.2 min
- Data access and governanceLayer bucket policies, Block Public Access and a VPC endpoint as the only door, then use Macie, GuardDuty or Access Analyzer to detect.3 min
- Classification, retention, and recoveryCompliance-mode Object Lock or Vault Lock stops tampering, replication covers a lost Region, and cross-account backups beat compromise.3 min
- Worked scenariosEach stronger requirement, such as audit, cross-account access or no administrator deletes, eliminates one more option.2 min
Mind map
How the exam tests this
SAA-C03 turns Task 1.3 into elimination problems: a scenario states a data-protection requirement with one qualifying phrase — audit every key use, share with another account, only one role may decrypt, AWS must never be able to decrypt, single-tenant HSMs, no one including administrators may delete — and only one control satisfies it while cheaper or weaker controls appear as distractors. Expect key-policy mechanics (delegation to IAM, administrator vs user statements, kms:ViaService, grants, cross-account ARNs), rotation rules (automatic period, on demand, imported material), and procedural traps: no option that enables encryption in place on an existing EBS volume or RDS instance can be right. Certificate questions hinge on placement (regional ACM certificates vs the CloudFront us-east-1 rule) and renewal (DNS-validated ACM certificates vs imported ones). Retention and recovery stems reward literal reading: Object Lock or Vault Lock compliance mode for immutability, lifecycle actions that really delete noncurrent versions, replication settings for KMS-encrypted and existing objects, and cross-account backup copies for account compromise.
Key takeaways
- Requirement mentions editing the key policy, independent decrypt control, disabling the key, a custom rotation schedule or cross-account use → customer managed KMS key; AWS managed keys allow none of those, and their requests are still billed.
- A key policy is the root of KMS access: IAM policies work only when it delegates to the account; name a role directly to keep IAM administrators out; split key administrators from key users; use kms:ViaService to limit use to one service; grants delegate without editing the policy and last until revoked or retired.
- "Single-tenant" or "exclusive HSM control" → CloudHSM (custom key store if native service integration is also needed); FIPS 140-3 Level 3 alone is already met by KMS; "AWS must never be able to decrypt" → client-side encryption with keys held outside AWS.
- S3: SSE-S3 for baseline; SSE-KMS with a customer managed key for audit and control; Bucket Keys to cut KMS request cost (new objects only, encryption context becomes the bucket ARN); DSSE-KMS for two layers.
- No in-place encryption for EBS or RDS: EBS creates an encrypted volume from a snapshot (directly or via an encrypted copy); RDS restores an encrypted snapshot copy, with DMS CDC to shrink downtime — never an encrypted replica of an unencrypted instance.
- ACM certificates are regional except CloudFront's, which live in us-east-1; ACM renews its own certificates only while DNS validation records remain, never imported ones; enforce TLS with redirects, CloudFront viewer/origin protocol policies, an explicit aws:SecureTransport Deny, and RDS force-SSL parameters.
- KMS rotation keeps old material and the key ID/alias: customer managed keys rotate automatically on a 90–2,560-day period or on demand; imported material rotates on demand after importing new material into the same key; only asymmetric, HMAC and custom-key-store keys need new-key-plus-alias.
- Retention and recovery: Object Lock compliance mode for "no one may delete"; NoncurrentVersionExpiration to really delete in versioned buckets; S3 Replication copies only new objects and skips SSE-KMS unless configured; AWS Backup plans with cross-account copies and Vault Lock compliance mode survive an account compromise; Macie finds sensitive data, GuardDuty watches access, Access Analyzer lists sharing.
Part 1: Encryption at rest
Default keys give plain encryption; editable policies, cross-account use or custom rotation all require a customer managed key.
Frequently asked questions
What is the difference between AWS managed keys and customer managed keys in KMS?
AWS managed keys (like aws/s3) are created by AWS for one service in your account: they have no monthly key fee and rotate automatically every year, but requests to them are still billed, and you cannot edit their key policies, change their rotation, disable them, or use them across accounts. Customer managed keys are keys you create: you write the key policy, issue grants, enable or disable the key, choose the automatic rotation period (90 to 2,560 days) or rotate on demand, and can allow other AWS accounts to use the key. They add a monthly key fee. Any requirement involving control, custom access rules, a custom rotation schedule or cross-account sharing points to a customer managed key; AWS managed keys only satisfy plain encryption-at-rest requirements.
What is the difference between SSE-S3 and SSE-KMS?
Both encrypt S3 objects server-side; they differ in key ownership and auditability. SSE-S3 (the default) uses keys that S3 manages entirely — free and zero-administration, but with no key policy and no key-usage audit trail. SSE-KMS uses a KMS key, so every encrypt and decrypt is a KMS API call logged in CloudTrail, and with a customer managed key you control exactly who can use the key, independent of S3 permissions. Choose SSE-KMS when the requirement mentions auditing key usage, restricting who can decrypt, or cross-account access; SSE-S3 when it only says data must be encrypted at rest.
How do I encrypt an existing unencrypted EBS volume or RDS database?
Neither can be encrypted in place. For EBS, snapshot the volume, then create a new volume from the snapshot with encryption enabled and your KMS key (EBS can create an encrypted volume directly from an unencrypted snapshot; copying the snapshot with encryption first is the route when you need an encrypted snapshot to keep or share), and swap the new volume onto the instance. For RDS, take a snapshot, copy it with encryption enabled, restore a new instance from the encrypted copy and repoint the application. RDS cannot restore an unencrypted snapshot straight into an encrypted instance or create an encrypted read replica of an unencrypted instance. For a large, busy database, keep the new encrypted instance in sync with AWS DMS change data capture until cutover to keep downtime short, or use an RDS blue/green deployment whose green environment is encrypted with a KMS key, which handles the sync and switchover for you.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.