Cloud Security · Identity and access
IAM role trust policy
Also known as: Role trust policy, Trust policy
A resource-based policy attached to an AWS IAM role. It names principals allowed to request role sessions through actions such as sts:AssumeRole or sts:AssumeRoleWithWebIdentity and may impose conditions. In one account, direct trust of a role ARN can authorize its caller without a separate identity Allow, subject to applicable limits. Account-root trust delegates permission and needs the caller's own grant. A cross-account IAM caller also needs its own grant. Matching trust alone does not prove a role session was issued.
Where you practice it
- Candidate Attack GraphsCloud Security · Reconnaissance & Attack-Surface MappingPractice this lesson →
- CI/CD OIDC TrustCloud Security · Initial Access & Credential ExposurePractice this lesson →
- Roles and AssumeRoleCloud Security · AWS Identity & AccessPractice this lesson →
- Credential and Trust AbuseCloud Security · AWS Identity & AccessPractice this lesson →
- Cross-Account AccessCloud Security · AWS Identity & AccessPractice this lesson →
- Same-Account Role RelayCloud Security · Lateral Movement & PivotingPractice this lesson →
- Applied Cross-Account HopCloud Security · Lateral Movement & PivotingPractice this lesson →
- Pivot Evidence and RepairCloud Security · Lateral Movement & PivotingPractice this lesson →
- A Retained Role-Trust RouteCloud Security · Persistence & BackdooringPractice this lesson →