AWS Security ChangesHomeSearch

AWS emr: Document FGAC with simplified trusted identity propagation

Service: emr · 2026-11-30 · Documentation medium

File: emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_fgac-lf-enable.md · Type: iam

Summary

Adds a new section describing how to enable fine-grained access control with simplified trusted identity propagation on EMR on EKS 8.2+, including IAM permission policies with an sts:TagSession condition on aws:RequestTag/LakeFormationAuthorizedCaller, trust policies for the system role and job execution roles, a warning about recreating workloads before opting in, and an example create-security-configuration command naming the system role and Lake Formation authorizedSessionTagValue.

Security assessment

The change documents an authorization feature (FGAC with trusted identity propagation) and provides IAM policies that gate sts:TagSession on the aws:RequestTag/LakeFormationAuthorizedCaller condition and sts:AssumeRole to the job execution role, plus matching trust policies and a Lake Formation authorizedSessionTagValue. This is security best-practice/permission-scoping guidance rather than a fix for a specific vulnerability; it also warns that workloads on earlier releases lose Lake Formation data access when the Identity Center instance is opted in.

Evidence

+          "Action": [ "sts:TagSession" ],

Diff

diff --git a/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_fgac-lf-enable.md b/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_fgac-lf-enable.md
index 26bbdd1..135908b 100644
--- a//emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_fgac-lf-enable.md
+++ b//emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_fgac-lf-enable.md
@@ -7 +7 @@
-Step 1: Set up Lake Formation-based permissionsStep 2: Setup EKS RBAC permissionsStep 3: Setup IAM Roles for user and system profile componentsStep 4: Setup security configurationStep 5: Create a virtual clusterStep 6: Submit a job in the FGAC enabled VirtualCluster
+Step 1: Set up Lake Formation-based permissionsStep 2: Setup EKS RBAC permissionsStep 3: Setup IAM Roles for user and system profile componentsStep 4: Setup security configurationStep 5: Create a virtual clusterStep 6: Submit a job in the FGAC enabled VirtualClusterFGAC with simplified trusted identity propagation
@@ -323,0 +324,97 @@ The Spark Driver, Executor and Event Logs of the System Driver are stored in AWS
+## FGAC with simplified trusted identity propagation
+
+With Amazon EMR on EKS release 8.2 and higher, you can use fine-grained access control with simplified trusted identity propagation. A system role carries a trusted session tag to AWS Lake Formation, instead of the OAuth scope that the earlier version used. For an overview, see [Simplified trusted identity propagation](./emr-eks-tip-simplified.html).
+
+Warning
+
+Before you opt your IAM Identity Center instance in to simplified trusted identity propagation, recreate any virtual cluster workloads that use AWS Lake Formation fine-grained access control with trusted identity propagation on release 8.2 or higher, and set up the trusted session tag. Workloads on earlier releases lose access to AWS Lake Formation data as soon as the instance is opted in.
+
+To use fine-grained access control with simplified trusted identity propagation, set up the system role in place of the query engine role, and keep the other steps. Step 2, Step 5, and Step 6 are unchanged.
+
+  1. Set up the AWS Lake Formation authorized session tag value, as described in Step 1: Set up Lake Formation-based column, row, or cell-level permissions. Use `EMR on EKS Engine` as the session tag value.
+
+  2. Configure the system role. Attach the following IAM permissions policy to the system role.
+    
+        {
+      "Version": "2012-10-17",
+      "Statement": [
+        {
+          "Sid": "TagSessionAccessForSystemDriver",
+          "Effect": "Allow",
+          "Action": [ "sts:TagSession" ],
+          "Resource": [ "arn:aws:iam::*:role/JobExecutionRole" ],
+          "Condition": {
+            "StringLike": { "aws:RequestTag/LakeFormationAuthorizedCaller": "EMR on EKS Engine" }
+          }
+        },
+        {
+          "Sid": "AssumeJobRoleAccess",
+          "Effect": "Allow",
+          "Action": [ "sts:AssumeRole" ],
+          "Resource": [ "arn:aws:iam::*:role/JobExecutionRole" ]
+        },
+        {
+          "Sid": "CreateCertificateAccessForTLS",
+          "Effect": "Allow",
+          "Action": [ "emr-containers:CreateCertificate" ],
+          "Resource": [ "*" ]
+        }
+      ]
+    }
+
+Configure the trust policy of the system role to trust the Kubernetes system namespace.
+    
+        aws emr-containers update-role-trust-policy \
+        --cluster-name eks cluster \
+        --namespace eks system namespace \
+        --role-name system_role_name
+
+  3. Configure the trust policy of each job execution role to let the system role assume it and tag the session. The session tag value `EMR on EKS Engine` must match the `authorizedSessionTagValue` in the security configuration and the value that you set in AWS Lake Formation. Matching is exact, including case.
+    
+        {
+      "Version": "2012-10-17",
+      "Statement": [
+        {
+          "Sid": "TagSessionTrustForSystemDriver",
+          "Effect": "Allow",
+          "Principal": { "AWS": "arn:aws:iam::123456789012:role/SystemRole" },
+          "Action": [ "sts:TagSession" ],
+          "Condition": {
+            "StringLike": { "aws:RequestTag/LakeFormationAuthorizedCaller": "EMR on EKS Engine" }
+          }
+        },
+        {
+          "Sid": "AssumeRoleTrust",
+          "Effect": "Allow",
+          "Principal": { "AWS": "arn:aws:iam::123456789012:role/SystemRole" },
+          "Action": "sts:AssumeRole"
+        }
+      ]
+    }
+
+  4. Create a security configuration that names the system role and the AWS Lake Formation configuration. If you set both a system role and a query engine role (`queryEngineRoleArn`), Amazon EMR on EKS uses the system role.
+    
+        aws emr-containers create-security-configuration \
+        --name 'security-configuration-name' \
+        --security-configuration-data '{
+            "authenticationConfiguration": {
+                "iamConfiguration": {
+                    "systemRole": "system-role-ARN"
+                }
+            },
+            "authorizationConfiguration": {
+                "lakeFormationConfiguration": {
+                    "authorizedSessionTagValue": "EMR on EKS Engine",
+                    "secureNamespaceInfo": {
+                        "clusterId": "eks-cluster-name",
+                        "namespace": "system-namespace-name"
+                    }
+                }
+            }
+        }'
+
+
+
+
+Then create a virtual cluster with this security configuration and submit a job, as described in Step 5: Create a virtual cluster and Step 6: Submit a Job in the FGAC Enabled VirtualCluster.
+