Trusted identity propagation with IAM federation - AWS Glue
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Trusted identity propagation with IAM federation

AWS Glue supports trusted identity propagation for workforce users who federate into AWS through an IAM SAML or OIDC identity provider. On this path, AWS Glue propagates each federated user's identity from Spark ETL jobs and interactive sessions to downstream services such as AWS Lake Formation, Amazon S3 Access Grants, and Amazon Redshift. Those services then authorize and audit access as the individual user rather than as the shared execution role.

This is a net-new capability. It does not use a AWS Glue managed IAM Identity Center application. An IAM administrator configures trusted identity propagation on the identity provider. IAM Identity Center is optional on this path and is used only for group-based access, as described in the following sections. For more information, see Trusted identity propagation for IAM federation and the list of AWS services that support trusted identity propagation.

On the IAM federation path, users authenticate through your IAM SAML or OIDC identity provider. You can optionally configure group-based access for trusted identity propagation by associating an IAM Identity Center instance. IAM Identity Center then provides the Identity Store that supported services use to resolve end-user group membership. Associating an IAM Identity Center instance for group-based access does not change the federation path; users still authenticate through your identity provider.

Trusted identity propagation on the IAM federation path applies to AWS Glue Spark ETL jobs and interactive sessions. Other job types, such as streaming, Python shell, and Ray jobs, run with the execution role and do not propagate user identity.

Getting started

An IAM administrator configures trusted identity propagation on your IAM SAML or OIDC identity provider. AWS Glue then propagates each federated user's identity to downstream services. There is no AWS Glue managed application to create and no sts:SetContext permission to add on the execution role. For setup instructions, see Trusted identity propagation for IAM federation.

Group-based access for trusted identity propagation

To use group-based access for trusted identity propagation, associate an IAM Identity Center instance and configure group access. IAM Identity Center provides the Identity Store that supported services use to resolve end-user group membership. For group-based access to resolve, configure the trusted identity propagation Subject so that its value matches the Username attribute for the user in the selected IAM Identity Center Identity Store. For more information, see Configure group-based access for trusted identity propagation.