Skip to content
Go back

The role that can read S3 but not the secret

Trace an AWS AccessDenied across S3 and KMS, then grant the workload only the missing decrypt permission.

The incident you will investigate

This lab runs in a simulated terminal in your browser. No account, cloud resources, or live cluster is required. Inspect the evidence, diagnose the cause, apply a fix, and verify the result.

environment
AWS production
workload
role/reporting-job
status
job failing
symptom
kms:Decrypt is denied for one application key

What you will practice

The reporting job can download an encrypted object from S3, but fails when AWS KMS tries to decrypt its data key.

Read the failing API call and identify which authorization layer denied it.

Try: aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=Decrypt

Related labs