Let’s Get Certified
Module 18 / 20 · Security and compliance

Delegate access within enforceable limits

Trace temporary role sessions, role trust and organization-level constraints.

Delegate access within enforceable limits

For human access across member accounts, federate a workforce identity through IAM Identity Center and manage permission sets and assignments centrally. Give workloads role credentials with a short lifetime. Cross-account assumption requires a trusting target and an authorized caller. Use session context and conditions to limit where a role can be assumed.

Delegate role creation behind a required permissions boundary. The boundary limits permissions an identity policy can supply, while an SCP constrains member-account permissions. Neither supplies the application’s grant. Attribute-based access can match principal and resource tags, provided separate controls protect who can change the authorization tags.

Worked case 1

A workload’s role has an allow but its approved boundary omits the action. Which layer should the platform owner inspect?

Check your reasoning

Compare the identity grant with the boundary. The effective identity-based permission cannot exceed the boundary. Avoid globally broadening access to fix one workload.

Worked case 2

A tenant-isolation design uses team tags for access, but application owners can change those tags on arbitrary resources. What must be protected?

Check your reasoning

Restrict who may set or change the authorization attributes and enforce the required tags during provisioning. Test with two distinct tenant identities.

IAM policy evaluation

Official DOP-C02 skills for this topic

Related lesson in AWS Certified CloudOps Engineer – Associate. Trace effective access and audit configuration.

Practice with the recording

A third-party pipeline needs to deploy to one environment without stored AWS access keys. How would you restrict its role?

Check your reasoning

Use federation and scope the trust relationship to the intended issuer, audience and workload identity. Limit the role permissions to that environment. Test both an allowed release and a different repository or branch that should be refused.

sthithapragna · DOP-C02 full course · 6:12:01

Knowledge check

Delegate access within enforceable limits quiz

Answer 3 questions. Check each answer for an explanation.