INFRASTRUCTURE LEARNINGINFRASTRUCTURE LEARNING
インフラ大全インフラ大全IT INFRASTRUCTURE / LEARNING
Infrastructure learning guide
Find a lesson or lab/

Esc to close · Search terms stay on your device

LEARNING日本語

Topic lessonTopic: Multi-account guardrails and deployment checks

AWS SCP permissions ceilings: comparing IAM grants with organization denials

An SCP does not grant the ability to perform an operation. Explain why the same IAM grant produces a different outcome in production and testing.

What you will learn

Explain why the same IAM grant produces a different outcome in production and testing.

Prerequisite

The fictional organization has all features enabled. No policies are executed or changed.

Follow the organization hierarchy from the principal

An SCP limits permissions for affected IAM principals in member accounts. SCPs do not affect principals in the management account.

Compare the grant with the ceiling
Compare the grant with the ceiling1: Principal — Identify the principal — IAM grant. 2: IAM grant — Compare the ceiling — Organization rule. 3: Organization rule — Record the decision — Decision123PrincipalIAM grantOrganization ruleDecisionCompare the grant with the ceiling1: Principal — Identify the principal — IAM grant. 2: IAM grant — Compare the ceiling — Organization rule. 3: Organization rule — Record the decision — Decision123PrincipalIAM grantOrganizationruleDecision
  1. Principal → IAM grantIdentify the principal
  2. IAM grant → Organization ruleCompare the ceiling
  3. Organization rule → DecisionRecord the decision
Principal
Production workload role
IAM grant
The operation is allowed
Organization rule
The OU policy denies it
Decision
The operation is denied

An operation is denied even with an IAM grant

Compare production and testing roles. Assume other policies do not interfere.
Principal and operationIAM and SCPResult
Test role updatesIAM grant within SCP ceilingAllowed if remaining requirements hold
Production role updatesIAM grant; SCP explicit denyDenied
Production role readsWithin SCP ceiling; no IAM grantNo grant established
Management account principalOnly the SCP was examinedUse applicable controls instead

An SCP is a ceiling on grants from identity or resource policies. An applicable explicit deny prevails over a grant.

Test narrowly before broad application

Fix the affected account. Distinguish roles with the same name and check action, account, OU and effective organization policy together.

Limit rollout. Start in a narrowly scoped test environment and exercise both expected allowed and denied operations.

Record evidence for each denial. Match synthetic operation records, applicable controls and principal identity before handing the result to the owner.

Check the worked example

Choose an option to see the result and explanation.

IAM allows an operation but an applicable SCP explicitly denies it. What happens?
Read the answer and reason

Answer: The operation is denied · The explicit deny applies.

The action is within the SCP ceiling but has no access grant. What next?
Read the answer and reason

Answer: Verify the applicable access grant separately · The ceiling does not create a grant.

Does the same SCP apply to a management account principal?
Read the answer and reason

Answer: Check other applicable controls · SCPs do not affect IAM principals in the management account.

Check, then explain in your own words

  1. Identify the principal and its place in the organization.
  2. Compare the grant, ceiling and explicit denial.
  3. Test allowed and denied examples within limited scope.
Check your understanding: Can changing an SCP to allow an action fill in a missing IAM grant?

You still need an applicable identity or resource grant.

A permission ceiling and a grant serve different purposes.

Sources and conditions checked

The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.