source identity
A value set when a role is first assumed that is carried through every later chained session and recorded in CloudTrail.
In more detail
The first caller sets it with sts:SourceIdentity, and roles can require it in their trust policy. Unlike the session name, it cannot be changed further down a chain, so it keeps the original person or job visible.
Related terms
- role session — The temporary identity created when a role is assumed, shown as arn:aws:sts::account:assumed-role/role-name/session-name.
- role chaining — Using temporary credentials from one assumed role to assume another role.
- AWS CloudTrail — The AWS service that records API calls made in an account: who called what, when, from where and with which result.
Taught in
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering