Delegate application-role creation and identity-policy attachment within one account to a development team. A central administrator owns an approved boundary policy.
Limit the application roles to that boundary and prevent creation without it or removal and replacement to evade it. The team cannot edit the approved boundary policy.
Trust policies and iam:PassRole scope are separately restricted. Direct resource-policy grants to role sessions and additional SCP or session-policy restrictions are outside this scenario.
Which design should accompany this delegation?
Require the approved permissions boundary on each created role and prevent its removal or replacement. The boundary grants no permissions itself; identity-based permissions must also allow each operation.
Detailed explanation
A broad identity-policy Allow does not exceed the boundary. Evaluate granted permissions separately from the maximum scope.
A boundary grants no permissions by itself. This scenario also requires the application identity-policy Allows.
Combine mandatory attachment to created roles with controls against evasion. In this scenario the effective identity-based permissions must be allowed by both the identity policy and the boundary.
The developer identity boundary is not automatically inherited by roles it creates. Require the boundary separately on each created role.
Check official documentation
Compare the following points with the official documentation.
Compare official documentation with each created role PermissionsBoundary ARN, identity policies, CreateRole conditions, boundary-removal and replacement permissions, and control of the boundary policy. In an authorized environment compare rejected creation without the boundary, rejected boundary changes, permitted operations allowed by both policies, and rejected operations allowed only by the identity policy.
Official references
What to confirm
Created roles have the approved boundary; the team cannot omit, remove or replace it. Under this identity-based evaluation only operations allowed by both policies succeed. Adding AdministratorAccess does not allow operations outside the boundary.
Key points
- Permissions boundary
- iam:PermissionsBoundary
- Identity-based policy
Notes
- Environment: Official IAM documentation review; optional authorization comparisons in an approved environment.
- Confirm current AWS service behavior in the official documentation.
Foundation review
Creator and created-role boundaries are separate
A developer boundary is not inherited by created roles. Require the approved boundary, for example using iam:PermissionsBoundary when authorizing CreateRole, and restrict removal, replacement and changes to the boundary policy.
Separate grants from maximum permissions
For this identity-based evaluation, both the identity policy and boundary must allow an operation. A boundary alone grants nothing, and AdministratorAccess does not exceed it. An applicable explicit Deny takes precedence.
Design other delegation paths separately
A boundary alone does not secure trust policies or iam:PassRole. Direct resource-policy grants to role sessions follow different evaluation rules. Those paths are excluded here so the question compares the created role identity-based permission limit.