Security, Compliance, and Governance

Two on-premises applications use IAM Roles Anywhere certificates issued by the same trusted CA and need separate IAM roles. Both can discover all profile ARNs; how should the architect prevent either application from obtaining the other's role credentials?

Show the answer

Correct answerA. Condition each role's trust policy on its application's mapped certificate subject attributes.

AWhy this is right: Conditions on mapped certificate attributes bind each role to the intended application's certificate identity.

BWhy not this: Session policies limit resulting permissions but do not establish which certificate identity may assume the role.

CWhy not this: Permissions boundaries limit role permissions, not which certificate-bearing workload can obtain the role.

DWhy not this: External IDs address delegated role assumption, not certificate identity binding in IAM Roles Anywhere.

Role trust policies can use mapped X.509 certificate attributes to restrict which workload may obtain a role's credentials. Profile session policies restrict permissions after authentication; they do not bind a certificate identity to its intended role.