Join our Newsletter — 33% off our NHI Course
Home› Guides› AWS Permission Boundaries for Beginners: Setting a Ceiling…
Guide Cloud & Workload Identity

AWS Permission Boundaries for Beginners: Setting a Ceiling on What a Role Can Do

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 4 December 2026 10 min read
On this page

An AWS permission boundary is a ceiling that limits the most a user or role can ever do.

This guide is for anyone who has heard the term in an AWS review and wants a plain answer. You do not need to write code. If your teams create their own roles for apps in AWS, boundaries help keep that safe.

In short

  • A permission boundary sets the most a user or role may be allowed. It gives no access on its own.
  • What the role can really do is the overlap between its own permissions and the boundary.
  • Boundaries let admins hand role creation to teams without letting them create roles more powerful than agreed.
  • Protect the boundary itself, so nobody can quietly remove or widen it.

What you will learn

  • Explain what a permission boundary does in one sentence.
  • Work out what a role can do when it has a boundary.
  • Spot the common ways a boundary is weakened.
  • Ask whether your teams create roles with a boundary attached.
Job hat (role)
an AWS identity with set permissions that people or apps take on for a while.
Written rules (policy)
a document that lists what an identity may or may not do.
Ceiling (permission boundary)
a policy that caps the most a user or role can be allowed.

What is an AWS permission boundary?

Think of the height bar at the entrance to a car park. Any vehicle may come in, but nothing taller than the bar gets through, whatever its ticket says.

A permission boundary works the same way in AWS. It is a policy that sets the most permissions a user or role can be given by its own policies [1]. It limits access, but it does not give any access by itself [1][2].

So a role needs two things to do an action. Its own permissions policy must allow it, and the boundary must allow it too. What it can really do is the overlap of the two [1].

Where the comparison stops working: a height bar is easy to see. A boundary is a policy that can be edited or removed if people have the rights to do so, so the bar itself needs guarding.

Roles used by apps are non-human identities, each with its own account and credentials. A boundary caps what such an identity can grow into. See Non-Human Identities for Beginners.

Why does it matter?

Teams often need to create roles for their own apps. Without a ceiling, that power can be used to create a role with more access than the person creating it.

If you run a cloud platform team

What could happen: a developer who can create roles creates one with full admin rights.

Check this: confirm developers may create roles only when a boundary is attached.

Next: AWS IAM Permissions Boundaries Guide

If you are new to cloud work

What could happen: you give a role broad rights because "the boundary will stop it", and the boundary is wider than you thought.

Check this: still give each role only what it needs.

Next: Least Privilege for Beginners

If you review security for a manager

What could happen: people mix up boundaries and account-wide rules, and gaps go unnoticed.

Check this: ask which limits apply to each account, and who can change them.

Next: Permission Boundaries vs SCPs

What does it look like?

Here is a made-up role and its boundary. It is in plain words, not code.

Example only. All values are made up.

Role:        EXAMPLE-report-app-role
Permissions: read and write storage, read databases,
             create new roles                       (1)
Boundary:    EXAMPLE-team-ceiling                   (2)
  allows:    read and write storage, read databases (3)
Can really do: read and write storage, read databases (4)
Boundary owner: (none listed)                        (5)
  1. The role asks for more than a report app needs.
  2. The ceiling on the role. In a real file, this line would name the full policy.
  3. What the ceiling allows.
  4. The overlap. The ceiling does not allow making roles, so that right is lost.
  5. With no owner, nobody looks after the ceiling.

Why this is risky: the ceiling helps here. But the role still asks for too much, and nobody owns the ceiling.

The safer way: cut the role down to what it needs. Give the ceiling a named owner.

How does it work?

  1. Write the ceiling. An admin writes a managed policy that lists the most any team role should be allowed.
  2. Attach it as a boundary. The policy is set as the permission boundary on a user or role [1].
  3. Give the role its own permissions. The role still needs a normal permissions policy, because the boundary grants nothing [1].
  4. AWS checks both. For each request, the action must be allowed by both policies. A deny in either one wins [1].
  5. Other limits still apply. Account-wide rules, called service control policies, also cap access. A request goes through only if all of them allow it [1].
Diagram titled What a role can really do. Two overlapping circles. Left circle, Permissions policy: what the role is given. Right circle, Boundary: the ceiling, the most it may ever have. The overlap, shaded green, is labelled what the role can actually do. A note says a boundary gives nothing on its own, and a deny in either policy wins.
Figure 1. A role can do only what both its own policy and its boundary allow.

The main use is handing out work safely. AWS's own example shows an admin letting a colleague create new users, but only if each new user carries a set boundary [1]. Many teams use the same idea to let developers create roles for their apps.

Diagram titled Letting teams create roles safely. Three boxes joined by numbered arrows. Box 1, Cloud admin: writes one boundary policy, the ceiling. Arrow 1 to box 2, Developer: may create roles only if they carry that boundary. Arrow 2 to box 3, New role, highlighted in green: gets its own permissions, but never above the ceiling. A note says the admin sets the rule, the developer creates a role with the boundary attached, and the admin no longer has to build every role by hand.
Figure 2. The admin sets one ceiling, and teams create roles underneath it.

A boundary only helps if it stays in place. If developers can remove it, edit the ceiling policy, or create roles from inside a bounded role, the cap can be stepped around.

Diagram titled Boundaries: risky and safer, with two panels. Risky: boundary only checked when a role is created; developers can edit or remove the boundary later; boundary allows creating more roles, with no ceiling. Safer, highlighted in green: boundary required on create and on every change; only admins can change the boundary policy itself; boundary leaves out the right to manage roles and users.
Figure 3. Guard the ceiling as carefully as the roles under it.

A worked example

This story is made up to show the idea.

Brandon Lee leads the cloud team at Mapleton Travel. Developers keep asking his team to create AWS roles for their apps. Each request takes days, and the developers are getting frustrated.

His colleague Carmen Ortiz suggests a permission boundary. Brandon's team writes one ceiling policy. It allows the storage, database and queue services the apps use. It leaves out the right to create or change roles and users.

Next, they change the developers' own rights. Developers may now create roles, but only if the new role carries that ceiling. They also cannot remove the boundary from a role or edit the ceiling policy.

Carmen tests the setup before it goes live. She tries to create a role without the boundary, and the request is refused. She tries to remove the boundary from a test role, and that is refused too. A role with the boundary is created without trouble.

A month later, a developer creates a role with admin rights in its own policy by mistake. The ceiling caps it, so the role can use only the services the boundary allows. Brandon's team spots the broad policy in a review and trims it anyway.

Brandon learned that a boundary lets teams move faster, as long as the ceiling itself is guarded and roles are still kept small.

Myths and mistakes

What people thinkWhat is true
A boundary gives a role its permissions.A boundary grants nothing. The role still needs its own permissions policy.[1]
With a boundary, role policies can be as broad as you like.Keep role policies small anyway. Boundaries are often wider than any single app needs.
Boundaries and service control policies are the same thing.Boundaries sit on a single user or role. Service control policies cap whole accounts.[2]
Once attached, a boundary stays put.Anyone with the right permissions can remove or edit it. Guard those permissions.
A boundary caps every kind of access.Some access granted from the resource's side, such as a storage bucket's own rules, is not always capped by it.[1]

What can I do this week?

  • Ask who in your organisation can create AWS roles.
  • Check whether those people must attach a boundary when they do.
  • Find out who can edit the boundary policy itself.
  • Pick one bounded role and check that its own policy is still small.

Checklist

  • I can explain a permission boundary as a ceiling that grants nothing.
  • I know a role can do only what both its policy and its boundary allow.
  • Roles created by teams must carry the agreed boundary.
  • Nobody outside the admin team can remove or edit the boundary.
  • The boundary leaves out the right to create or change roles and users.
  • The boundary policy has a named owner.
  • Role policies stay small, even under a boundary.

Common questions

Does a permission boundary give a role any access?

No. A boundary only sets the most a user or role may be allowed. AWS says it does not provide permissions on its own [1]. The role still needs its own permissions policy, and it can do only what both allow.

Can I put a boundary on a group?

No. AWS supports boundaries for users and roles [1]. Groups can hold normal permissions policies, but the ceiling is set on each user or role. For apps and pipelines, that usually means the role.

How is a boundary different from a service control policy?

Scope. A boundary is attached to one user or role. A service control policy is set in AWS Organizations and caps the users and roles in whole accounts [2]. Neither grants access. A request must pass both when both apply.

Why would a team use boundaries at all?

To share work safely. Admins can let developers create roles for their own apps, knowing each new role is capped by the agreed ceiling. That removes a bottleneck without handing out unlimited power, as long as the boundary itself is protected.

Where next?

Ready for the detail? Read the practitioner guide: AWS IAM Permissions Boundaries Guide. It goes further into the delegation pattern, the ways a boundary can be stepped around, and how to test and monitor it.

Also useful:

Related NHI Mgmt Group resources: Non-Human Identities for Beginners, How to find unused AWS IAM roles and access keys and Cross-Account Roles vs Resource-Based Policies.

Key terms

Permission boundary
A policy that sets the most permissions a user or role can have, and grants nothing on its own.
IAM role
An AWS identity that gives temporary credentials instead of a permanent password or keys.
Identity-based policy
A policy attached to a user, group or role that says what that identity may do.
Service control policy
An account-wide rule in AWS Organizations that caps what users and roles can do, granting nothing itself.
Least privilege
Giving each person or program only the access it needs, and no more.

Sources and further reading

  1. Amazon Web Services, "Permissions boundaries for IAM entities", AWS Identity and Access Management User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html (accessed 4 Dec 2026).
  2. Amazon Web Services, "Policies and permissions in AWS Identity and Access Management", AWS Identity and Access Management User Guide. https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html (accessed 4 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.