ExitAttribute-Based Access Control: tag-based authorization1 / 7
Explanation

One policy, many teams

How IAM policies use trusted principal and resource tags to scale permissions across teams while preventing unauthorized attribute changes and accounting for action-specific authorization support. · associate

Attribute-Based Access Control (ABAC) uses attributes in policy conditions to decide which resources a requester may access. In AWS, a principal tag describes the requesting identity, while a resource tag describes the target. A Project tag can let one shared policy separate several teams without listing every team's resources.

For a supported action, a policy can compare the resource's Project value with the caller's value using this condition: {"StringEquals":{"aws:ResourceTag/Project":"${aws:PrincipalTag/Project}"}}. A caller with Project=Atlas satisfies that comparison for an Atlas-tagged resource, but not a Beacon-tagged resource. Principal tags can come from IAM user or role tags, or from temporary-session tags.

Tags do not grant permissions by themselves. An Allow statement must also name the permitted actions and resources. New resources can fall within the shared rule when their tags match, without editing the policy. With this ordinary equality condition, a missing or different Project value does not satisfy the Allow; another applicable Allow could still grant access, and an explicit Deny still takes precedence.