On 24 November 2026 (UTC; 23 November in US Pacific time) the AWS Security Blog published “Know the identity behind the role: Authorize and audit with trusted identity propagation” (authors per the blog’s RSS feed: Laura Reith, Rishi Tripathy, Songzhi Liu and Shweta Motwani). It announces that trusted identity propagation (TIP), previously available only to users arriving through IAM Identity Center, now also works for IAM federation (SAML or OIDC) and IAM Roles Anywhere. This is a product announcement, not a vulnerability report. Below we summarise what AWS says, then add suggestions of our own, which are labelled and have not been run in a live account.
The problem AWS describes
Access decisions apply to the role, and CloudTrail attributes each action to the role session. To give two users or workloads different access you either create separate roles or share one role and write policies on session attributes. AWS says the first leads to role proliferation, and that session attributes carry across role sessions only when you grant additional permissions, and the session does not record who set each attribute.
What TIP does, per AWS
- Identity context at issuance. AWS attaches identity context from a trusted source (an external SAML/OIDC IdP, IAM Identity Center, or an X.509 certificate for Roles Anywhere) when credentials are issued. It cannot be changed for the life of the session.
- Propagation. The context carries into a new role session when the TIP session assumes another role, and into forward access sessions (FAS) when an AWS service calls downstream on your behalf. AWS notes this applies only when the target role is in the account where the IdP is configured or elsewhere in the same AWS organization.
- Context keys.
aws:OriginIdentity/Subject,SubjectTypeandIssuer(plusFederatedProviderArnfor federation and Roles Anywhere);aws:TransactionContext/IdentityProvider/*for optional IdP claims such as a risk score or CI/CD workflow name (IAM federation only); andaws:IdentityCenterInstanceArn/aws:IdentityStoreArn. - Defaults. TIP is on by default for new IAM IdPs and new Roles Anywhere profiles; existing ones must be switched on and have claims mapped. For Roles Anywhere,
Subjectdefaults to the certificate’s Subject common name, or its URI SAN. - CloudTrail.
userIdentity.onBehalfOfholds the origin identity anduserIdentity.transactionContextholds the IdP claims. AWS’s worked example maps GitHub OIDCrepository,workflow_refandrun_idso anUpdateFunctionCodeevent on a shared deploy role names the exact workflow run. - Outbound. A TIP session can call
sts:GetWebIdentityTokenfor a signed JWT carrying the context to an external service.
Where this can go wrong
AWS lists two caveats that matter for defenders.
- Missing keys and
IfExists. A TIP key is absent when the session has no identity context or the service does not support TIP. AWS says to use operators withoutIfExists(such asStringEquals) in Allow statements, becauseStringEqualsIfExistsevaluates true when the key is missing. In a Deny, addIfExistsif the Deny should also hit sessions without the key, but that also affects services that do not support TIP, so confirm support first. - Cached KMS data keys. AWS says services such as Amazon SQS may reuse cached KMS data keys across sessions of the same role, so KMS does not evaluate the later session’s TIP context. Enforce TIP conditions on the resource policy (for example the S3 bucket policy), not only the KMS key policy.
AWS also notes the risk score is fixed for the session lifetime, so session duration should match data sensitivity.
Our suggestions (illustrative, untested)
AWS’s own example is an Allow in a bucket policy. A complementary guardrail, which is our idea and not from the post, is an explicit Deny so that a later, broader Allow cannot be satisfied by a session lacking the expected issuer. Test in a non-production bucket first, and check that every service touching the bucket supports TIP, since the Deny applies to unsupported services too.
{
"Sid": "DenyDataAccessRoleWithoutExpectedIssuer",
"Effect": "Deny",
"Principal": {"AWS": "arn:aws:iam::111122223333:role/DataAccessRole"},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::amzn-s3-demo-bucket/restricted/*",
"Condition": {
"StringNotEqualsIfExists": {
"aws:OriginIdentity/Issuer": "idp.example.com"
}
}
}
AWS says IfExists makes the condition evaluate true when the key is absent. The IAM documentation on condition operators states the consequence for a Deny with a negated operator such as StringNotEqualsIfExists: the request is still denied even if the condition key is not present. So this Deny also catches sessions with no TIP context, and sessions from services that do not support TIP. It will also hit any other path into the same role, such as Identity Center, if the role is shared.
To find TIP-attributed activity, a starting point for CloudTrail (our sketch; lookup-events is per-Region, limited in history, and we did not test the field paths against real events):
aws cloudtrail lookup-events \
--lookup-attributes AttributeKey=EventName,AttributeValue=UpdateFunctionCode20150331v2 \
--max-results 50 --query 'Events[].CloudTrailEvent' --output text \
| jq -r 'select(.userIdentity.onBehalfOf != null)
| [.eventTime, .userIdentity.arn, .userIdentity.onBehalfOf.subject,
(.userIdentity.transactionContext.IdentityProvider.run_id // "-")] | @tsv'
Practical checklist:
- Inventory IAM OIDC/SAML providers and Roles Anywhere profiles; turn on TIP for existing ones and map only the claims your policies need.
What we could not verify
We opened the IAM User Guide page on condition operators to confirm the IfExists behaviour, but not the other linked IAM pages, so the supported-service list and Roles Anywhere details rest on the AWS blog post alone. We did not test any policy or command. The post reports no abuse or vulnerability.