AssumeRole
The STS operation a principal calls to take on an IAM role and receive that role's temporary credentials.
In more detail
For a cross-account hop, the caller's own policy must allow sts:AssumeRole on the role and the role's trust policy must name the caller. The request may also ask for a session name, a duration and an external ID.
Related terms
- AWS STS — The AWS Security Token Service, which issues temporary credentials when someone assumes a role.
- trust policy — A JSON document on a cloud role that says who may assume the role and under which conditions.
- role chaining — Using temporary credentials from one assumed role to assume another role.
- cross-account access — A principal in one AWS account using resources in another, allowed only when policies on both sides agree.
Taught in
- Who Signs In: Identity Center, STS And Cognito — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Service Control Policies & Guardrail Architecture — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering