📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials AWS Solutions Architect IAM Permissions Boundaries

IAM Permissions Boundaries

4 min read Quiz at the end
Understand IAM Permissions Boundaries for delegated administration and privilege escalation prevention.

IAM Permissions Boundaries — Maximum Permission Ceiling

A Permissions Boundary is an advanced IAM feature that sets the MAXIMUM permissions an IAM entity (user or role) can ever have. Even if an identity-based policy grants broader permissions, the boundary limits what is actually effective.

Teacher Note: Think of a Permissions Boundary like a salary cap in sports. The team owner (admin) says: 'No player can earn more than $5 million.' Even if the coach offers a player $10 million, they can never actually receive more than $5 million. The boundary is the hard ceiling.

How Permissions Boundaries Work

Effective Permissions = 
  Identity-Based Policy
  AND
  Permissions Boundary

Example:
Identity Policy: Allow ec2:*, s3:*, rds:*
Permissions Boundary: Allow ec2:*, s3:*
Effective Permissions: ec2:*, s3:*  (RDS is blocked by boundary)

Use Case — Delegated Administration

You want to allow a developer to create IAM roles for their Lambda functions, but prevent them from creating roles with more permissions than they themselves have.

# Admin creates developer user with a Permissions Boundary
# The boundary prevents the developer from creating roles
# that exceed their own permissions

# Developer can create Lambda execution roles, but:
# - Cannot create roles with AdministratorAccess
# - Cannot grant permissions they do not have themselves
# This prevents privilege escalation attacks

Permissions Boundary vs SCP

FeaturePermissions BoundarySCP
Applies toSpecific IAM users or rolesEntire AWS accounts or OUs
Set byIAM admin in the same accountOrganization admin
PurposeLimit individual identity permissionsLimit account-level permissions
Grants permissions?No — only limitsNo — only limits
Exam Tip: Permissions Boundaries prevent privilege escalation. A developer with IAM admin rights + a permissions boundary cannot create a backdoor role with more permissions than the boundary allows. This is critical for secure multi-team environments.