Data Security and Governance
Which component of an IAM role specifies the principals that can assume the role?
Show the answer
Correct answerD. Trust policy
AWhy not this: A session policy restricts permissions for a particular assumed-role session.
BWhy not this: A permissions policy grants actions on resources; it does not define which principals can assume the role.
CWhy not this: A permissions boundary limits the permissions that identity-based policies can grant.
DWhy this is right: A trust policy identifies the principals trusted to assume the role, subject to its conditions.
A role's trust policy identifies the principals allowed to assume it and any applicable conditions. A permissions policy instead defines what actions the assumed role can perform.