AWS Extends Trusted Identity Propagation to IAM Federation and Roles Anywhere

Summary
AWS extends Trusted Identity Propagation to IAM federation and IAM Roles Anywhere, carrying user or workload context into role sessions for policy-based authorization and CloudTrail auditing, with examples for Lambda attribution and risk-based S3 access.
Key points
- Trusted Identity Propagation now supports direct SAML or OIDC federation into IAM roles and X.509 certificate-based access through IAM Roles Anywhere, in addition to IAM Identity Center.
- AWS attaches identity context when credentials are issued; the context remains fixed for the role session and can carry into supported downstream requests and assumed roles.
- IAM policies can use identity and optional IdP claims, such as a risk score, to make access decisions for a session.
- CloudTrail records the user or workload behind requests, with optional claims that can help trace actions such as a Lambda deployment to a GitHub Actions workflow run.
- AWS says identity context propagates across more than 250 supported services and can be shared with external services through IAM outbound identity federation.
- AWS cautions that context propagation depends on account and organization boundaries; cached AWS KMS data keys may also prevent later session context from being reevaluated by KMS.
Article Details
- Event Type
- AWS product feature launch extending trusted identity propagation to IAM federation and IAM Roles Anywhere, and simplifying its use with IAM Identity Center.
- Impact
- Users and workloads can carry identity context into AWS role sessions, enabling IAM policies to authorize requests based on the originating identity and CloudTrail to attribute activity to that identity. The context can also propagate to supported downstream requests and be shared with external services through IAM outbound identity federation.
Vendors
Products
Amazon S3then evaluate the identity context to authorize requests, as the Amazon Simple Storage Service (Amazon S3) bucket policy example later in this post shows, and AWS CloudTrail records it, as the AWS LambdaAWS CloudTrailTrusted identity propagation (TIP) carries the identity of the user or workload with each AWS request, so you can grant permissions to that user or workload and trace its actions in AWS CloudTrail.AWS Identity and Access Managementnon-human caller, such as an application, service, or an automated workflow) behind an AWS Identity and Access Management (IAM) role.AWS Lambda(Amazon S3) bucket policy example later in this post shows, and AWS CloudTrail records it, as the AWS Lambda example shows.AWS STSWhen a TIP session (a role session that carries identity context) assumes another role, AWS Security Token Service (AWS STS) carries the context into the new role session.GitHub ActionsIn the first example, AnyCompany uses identity context logged in CloudTrail to identify the GitHub Actions workflow run that deployed new code to a production AWS Lambda function.IAM Identity CenterUntil now, TIP was available only for users who access AWS through AWS IAM Identity Center.IAM Roles AnywhereWe’ve extended TIP to IAM federation and AWS IAM Roles Anywhere, making it work for users and workloads that federate directly into IAM roles or use X.509 certificates to obtain AWS credentials.Trusted identity propagationTrusted identity propagation (TIP) carries the identity of the user or workload with each AWS request, so you can grant permissions to that user or workload and trace its actions in AWS CloudTrail.
