role session
The temporary identity created when a role is assumed, shown as arn:aws:sts::account:assumed-role/role-name/session-name.
In more detail
The session name is chosen by the caller, so it is a label, not proof. CloudTrail records every call under the session's ARN, which is how you trace a chain of hops back to where it started.
Related terms
- AssumeRole — The STS operation a principal calls to take on an IAM role and receive that role's temporary credentials.
- role chaining — Using temporary credentials from one assumed role to assume another role.
- source identity — A value set when a role is first assumed that is carried through every later chained session and recorded in CloudTrail.
- ARN — Amazon Resource Name: the unique identifier of any AWS resource, such as arn:aws:iam::123456789012:role/github-deploy.
Taught in
- Many Accounts: Organizations, SCPs And Control Tower — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Who Signs In: Identity Center, STS And Cognito — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- Threat Detection with GuardDuty & Anomaly Analytics — Cloud Security & DevSecOps Engineering