Join our Newsletter — 33% off our NHI Course
Home› FAQ› Governance, Ownership & Risk› Why should AWS IAM policies be attached to…
Governance, Ownership & Risk

Why should AWS IAM policies be attached to groups or roles rather than users?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 20, 2026 Domain: Governance, Ownership & Risk

AWS IAM policies should be attached to groups or roles rather than users so permissions follow job function instead of individual accounts. That reduces policy sprawl, makes access reviews simpler and limits the risk of orphaned or inconsistent permissions when people change roles or leave. Roles are especially useful for temporary or workload access, while groups fit repeated human access patterns.

Why groups and roles beat direct user attachments in AWS IAM

Attaching policies to groups or roles keeps authorization tied to what someone does, not to a single named account. That matters because users change jobs, leave, or need temporary elevation, while the permission model should remain stable. Groups work best for recurring human access patterns, and roles are the cleaner choice when access should be assumed, time-bound, or used by workloads.

Direct user policies tend to create policy sprawl, make reviews slower, and leave behind permissions when accounts are retired or repurposed. By contrast, a role-based model gives you one place to control a job function, and one place to update the permissions behind it. That reduces inconsistency across teams and makes it easier to prove who should have access versus who merely happens to hold a user account.

For AWS-specific implementation detail, the strongest starting point is an AWS IAM Policies and Roles Guide, which covers policy evaluation, trust relationships, role chaining, and permission boundaries. That distinction matters because the same permission can behave very differently depending on whether it is granted directly to a user or inherited through a role assumption path.

Why this structure improves governance and day-to-day operations

Groups are useful when many people need the same baseline access, because membership is easier to review than a long list of custom user policies. Roles are better when access should be temporary, federated, delegated, or assumed by a workload. In practice, this means fewer one-off exceptions and less duplicated policy logic across the account estate.

It also improves lifecycle control. If a person moves teams, you change group membership or assigned role entitlements rather than rebuilding permissions account by account. If a workload needs access, the role becomes the control point, which is a better fit than binding permissions to a human-style user identity that may outlive the workload or be reused in ways that complicate traceability.

A broader identity governance perspective is captured in IAM and IGA Basics, which explains why entitlement design should follow role, lifecycle, and review processes. That same logic applies in AWS: the cleaner the entitlement boundary, the easier it is to recertify access and spot privilege creep.

When users still matter, and what to avoid

Users still matter as the administrative and audit subject, but they should usually not be the unit of policy design. If every user carries bespoke permissions, the account model becomes brittle, especially after reorganisations, contractor offboarding, or emergency access use. The risk is not only excess privilege, but also forgotten privilege that persists after the original need has gone away.

Roles are especially important for non-human access patterns, such as applications, CI/CD pipelines, or cross-account operations, because they let you issue temporary credentials without embedding long-lived access into a specific user account. That is the safer pattern when access should be assumed only for a task or session, not permanently attached to a person.

If you want a practical AWS risk view, Top 10 AWS IAM Mistakes is a useful companion because it highlights common failure modes such as overly permissive roles, weak trust policies, and long-lived access keys. Those problems are easier to prevent when policies are centralised around groups and roles instead of scattered across individual users.

Risk and Threat Considerations

Direct user attachments increase the chance of privilege drift, orphaned permissions, and inconsistent access review outcomes. They also make it easier for an attacker to benefit from stale entitlements after a role change, offboarding event, or forgotten exception.

Failure mechanism: Permissions accumulate on individual accounts, then survive user movement or departure because nobody cleans up every direct attachment. That creates a larger blast radius for compromised accounts and a weaker audit trail for what should have been normalised through group or role membership.

Impact: Excess access becomes easier to miss, harder to recertify, and more likely to be abused in lateral movement or privilege escalation scenarios. In AWS, this is especially dangerous when direct grants include administrative actions, cross-account access, or the ability to pass roles to other services.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CSA Cloud Controls Matrix, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CSA Cloud Controls MatrixIAM — Identity and Access ManagementIAM role and group design directly governs cloud entitlements and access lifecycle.
Recommendation — Use IAM to centralize entitlements in groups and roles instead of individual users.
NIST SP 800-53 Rev 5AC-2 — Account ManagementUser-vs-group/role assignment affects account lifecycle, review, and removal of standing access.
AC-6 — Least PrivilegeGroup and role-based attachment supports least privilege better than per-user permission sprawl.
Recommendation — Manage access through account lifecycle controls and remove direct standing privileges where possible. Constrain permissions to the minimum needed for the role or group.
ISO/IEC 27001:2022A.5.15 — Access controlPolicy attachment strategy is an access-control design decision for controlling who can do what.
Recommendation — Implement access control using role- and group-based entitlement structures.
NIST CSF 2.0PR.AA-05 — Identity management, authentication and access control are managed for users, devices and servicesThe question is about structuring access control so permissions follow managed identities and roles.
Recommendation — Manage access centrally so entitlements follow identity lifecycle and job function.

Practitioner Guidance

What to prioritise: Make group membership and role assumption the default access path, then reserve direct user policies for narrow break-glass or exception cases that have an owner and expiry.

What to verify: Check that each IAM user either has no standing permissions or only the minimum needed to authenticate and assume approved groups or roles. Review direct attachments for exceptions that have outlived their purpose.

Common mistake: Treating a user as the place to store business access because it is convenient at setup time. That shortcut usually becomes the hardest part of the model to govern later, especially in audits and offboarding.

Practitioner takeaway: Design AWS access so permissions belong to stable job functions and assumed roles, not to people or accounts that change over time.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org