Developer Associate · Lesson 1 of 3IAM, STS and SDK foundations6 min

Which policy blocks this request?

The essentials in 30 seconds

before you dive into the details
Picture this

A pass and a closed gate

Permission slip

Allow -> permitted action

Names the allowed action and resource.

Blocking gate

Explicit Deny -> refusal

A matching refusal stops the request.

Where the analogy stops: A pass does not override a matching Deny. Cross-account access requires both evaluations, and KMS has its key-policy model.
01Picture the mechanism

An Allow is a permission slip. An applicable explicit Deny is a closed gate that another slip cannot open.

02Choose by the signal

Check explicit Deny first, then missing permission on the caller or resource side. Keep KMS key policies and role delegation separate.

03In the application

Read the denied action and resource. PutObject, kms:Decrypt and iam:PassRole belong to different authorization checks.

Exam trap

A boundary or SCP limits permissions; it does not create an Allow that bypasses a Deny.

Keywords
  • explicit Deny
  • cross-account
  • key policy
  • iam:PassRole
One sentence to remember

Find the policy that blocks or fails to grant this exact action.

1 media item5 rule steps5 scenarios6 flashcards

Focus mode