Source: AWS Security Blog
Author: Laura Reith
URL: https://aws.amazon.com/blogs/security/know-the-identity-behind-the-role-authorize-and-audit-with-trusted-identity-propagation/
ONE SENTENCE SUMMARY:
AWS trusted identity propagation now supports IAM federation and Roles Anywhere, enabling identity-based authorization and CloudTrail auditing beyond roles.
MAIN POINTS:
- TIP attaches user or workload identity context to IAM role sessions at credential issuance.
- Previously limited to IAM Identity Center, TIP now extends to IAM federation and Roles Anywhere.
- Role-based auditing and authorization caused role proliferation or fragile session-attribute policy patterns.
- Identity context comes from trusted sources: SAML/OIDC IdPs, Identity Center, or X.509 certificates.
- Session identity context is immutable for the session lifetime, improving policy reliability and investigations.
- Propagation continues through STS role chaining and Forward Access Sessions for AWS service downstream calls.
- Propagation scope is constrained to IdP-configured accounts or accounts within the same AWS Organization.
- Core context keys include aws:OriginIdentity/, aws:TransactionContext/IdentityProvider/, and Identity Center ARNs.
- CloudTrail logs identity context under userIdentity.onBehalfOf and userIdentity.transactionContext for attribution.
- Launch adds outbound identity federation via GetWebIdentityToken to share TIP context to external services.
TAKEAWAYS:
- Auditing improves because CloudTrail can attribute actions to the originating user/workload, not just roles.
- Policy decisions can use IdP claims like riskScore for per-session, context-aware authorization.
- GitHub Actions OIDC deployments can be traced to repository, workflow, and run_id without changing roles.
- S3 bucket policies should require TIP keys explicitly to avoid unintended access when keys are missing.
- Enforce TIP conditions at resource policies for encrypted data due to KMS data-key caching limitations.