Simplified trusted identity propagation
Simplified trusted identity propagation is the recommended way to propagate a workforce user's identity through Amazon EMR Serverless to downstream AWS services. When a user runs a Spark workload, Amazon EMR Serverless carries that user's identity to AWS Lake Formation, Amazon S3 Access Grants, and S3 table grants. Those services then authorize and audit access as the individual user rather than as a shared role.
With Amazon EMR Serverless releases 7.8.0 and higher, identity propagation applies automatically after you complete the one-time setup for your chosen path. Releases earlier than 7.8.0 don't support trusted identity propagation.
What changed from the earlier version
Compared to the earlier version of trusted identity propagation, the simplified version removes most of the setup:
-
With the earlier version, Amazon EMR Serverless created the Identity Center application for you. The simplified version doesn't use one.
-
There are no OAuth scopes to manage.
-
There is no identity-propagation configuration to add to Amazon EMR Serverless. On supported releases, identity propagation applies automatically after the one-time setup for your chosen path is complete.
-
There is no
sts:SetContextpermission to add to execution roles. -
Workforce users who reach AWS through IAM federation, and not only through IAM Identity Center, can propagate their identity.
The two paths
Simplified trusted identity propagation supports two paths. You can use both in the same account during a transition.
- IAM Identity Center path
-
An administrator opts in once in the IAM Identity Center console, at the account level or the organization level. For more information, see Enable the simplified experience in the IAM Identity Center User Guide.
- IAM federation path
-
An administrator configures a context provider once in IAM, for users who reach AWS through SAML or OIDC federation. For more information, see Configure a context provider for trusted identity propagation in the IAM User Guide.
What is in the propagated identity context
The identity context is the identity information about the workforce user that travels with the credentials. The identity context that Amazon EMR Serverless propagates depends on the path:
-
On the IAM Identity Center path, the context carries the user's subject (for example, the corporate email), the Identity Center user ID, the identity store ARN, and the Identity Center session ID.
-
On the IAM federation path, the context carries the subject, the subject type, the issuer, and, if you attached an IAM Identity Center instance, the Identity Center instance ARN.
How it works
A user authenticates through IAM Identity Center, or through your corporate identity provider using IAM federation, and works with Amazon EMR Serverless. When a session or job runs on a supported release, Amazon EMR Serverless reads the identity context on the incoming credentials and propagates it to downstream services for authorization and auditing.
If the incoming credentials carry no identity context, Amazon EMR Serverless runs the
workload under the job execution role and does not propagate a user identity. Streaming jobs
(STREAMING mode) run under the job execution role and don't carry a propagated
identity.
Supported workloads, releases, and entry points
Simplified trusted identity propagation is available on Amazon EMR Serverless releases 7.8.0 and higher. It supports the following workloads:
-
Spark batch jobs, which are new with simplified trusted identity propagation.
-
Apache Livy interactive sessions.
-
Spark Connect sessions.
You reach these workloads through the Amazon EMR Serverless API, the AWS CLI, the AWS SDKs, the console, and Amazon SageMaker Unified Studio.
Downstream services enforce the propagated identity as follows: AWS Lake Formation for table, row, column, and cell-level access to AWS Glue Data Catalog tables; Amazon S3 Access Grants for prefix-level access to Amazon S3 data; and S3 table grants for table-level access to Amazon S3 Tables.
Releases earlier than 7.8.0 don't support trusted identity propagation. For the earlier version of trusted identity propagation, see Trusted Identity Propagation.