AWS Security ChangesHomeSearch

AWS emr medium security documentation change

Service: emr · 2025-09-19 · Security-related medium

File: emr/latest/ManagementGuide/iceberg-with-lake-formation.md

Summary

Updated Iceberg configuration examples, removed RecordServerSQLExtension reference, added EMR version-specific commands, and adjusted Lake Formation integration parameters

Security assessment

The change removes deprecated assume-role settings (client.assume-role.region) that could lead to misconfigured IAM role assumptions, and introduces explicit 'lf.managed=true' configuration for Lake Formation access control. This addresses potential security risks from improper role delegation and clarifies secure catalog management.

Diff

diff --git a/emr/latest/ManagementGuide/iceberg-with-lake-formation.md b/emr/latest/ManagementGuide/iceberg-with-lake-formation.md
index 8f4f5ea05..354b91f2c 100644
--- a//emr/latest/ManagementGuide/iceberg-with-lake-formation.md
+++ b//emr/latest/ManagementGuide/iceberg-with-lake-formation.md
@@ -5 +5 @@
-# Apache Iceberg and Lake Formation with Amazon EMR
+# Apache Iceberg with fine-grained access control
@@ -9 +9 @@ Amazon EMR releases 6.15.0 and higher include support for fine-grained access co
-If you want to use Iceberg format, set the following configurations. Replace ``DB_LOCATION`` with the Amazon S3 path where your Iceberg tables are located, and replace the Region and account ID placeholders with your own values.
+If you want to use Iceberg format, set the following configurations. Replace ``DB_LOCATION`` with the Amazon S3 path where your Iceberg tables are located, and replace the region and account ID placeholders with your own values.
@@ -13,9 +13,8 @@ If you want to use Iceberg format, set the following configurations. Replace ``D
-    --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions,com.amazonaws.emr.recordserver.connector.spark.sql.RecordServerSQLExtension  
-    --conf spark.sql.catalog.iceberg_catalog=org.apache.iceberg.spark.SparkCatalog 
-    --conf spark.sql.catalog.iceberg_catalog.warehouse=s3://DB_LOCATION 
-    --conf spark.sql.catalog.iceberg_catalog.catalog-impl=org.apache.iceberg.aws.glue.GlueCatalog 
-    --conf spark.sql.catalog.iceberg_catalog.io-impl=org.apache.iceberg.aws.s3.S3FileIO  
-    --conf spark.sql.catalog.iceberg_catalog.glue.account-id=ACCOUNT_ID 
-    --conf spark.sql.catalog.iceberg_catalog.glue.id=ACCOUNT_ID 
-    --conf spark.sql.catalog.iceberg_catalog.client.assume-role.region=AWS_REGION 
-    --conf spark.sql.secureCatalog=iceberg_catalog
+    --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
+    --conf spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog 
+    --conf spark.sql.catalog.spark_catalog.warehouse=s3://DB_LOCATION
+    --conf spark.sql.catalog.spark_catalog.catalog-impl=org.apache.iceberg.aws.glue.GlueCatalog 
+    --conf spark.sql.catalog.spark_catalog.io-impl=org.apache.iceberg.aws.s3.S3FileIO
+    --conf spark.sql.catalog.spark_catalog.glue.account-id=ACCOUNT_ID
+    --conf spark.sql.catalog.spark_catalog.glue.id=ACCOUNT_ID
+    --conf spark.sql.catalog.spark_catalog.client.region=AWS_REGION
@@ -24 +23 @@ If you want to use Iceberg format, set the following configurations. Replace ``D
-If you want Lake Formation to use record server to manage your Spark catalog, set `spark.sql.catalog.<managed_catalog_name>.lf.managed` to true.
+If you want to use Iceberg format on earlier EMR versions, use the following command instead:
@@ -26 +24,0 @@ If you want Lake Formation to use record server to manage your Spark catalog, se
-You should also **be careful NOT to pass** the following assume role settings:
@@ -27,0 +26,10 @@ You should also **be careful NOT to pass** the following assume role settings:
+    spark-sql \
+    --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions,com.amazonaws.emr.recordserver.connector.spark.sql.RecordServerSQLExtension  
+    --conf spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkCatalog 
+    --conf spark.sql.catalog.spark_catalog.warehouse=s3://DB_LOCATION
+    --conf spark.sql.catalog.spark_catalog.catalog-impl=org.apache.iceberg.aws.glue.GlueCatalog 
+    --conf spark.sql.catalog.spark_catalog.io-impl=org.apache.iceberg.aws.s3.S3FileIO  
+    --conf spark.sql.catalog.spark_catalog.glue.account-id=ACCOUNT_ID
+    --conf spark.sql.catalog.spark_catalog.glue.id=ACCOUNT_ID
+    --conf spark.sql.catalog.spark_catalog.client.assume-role.region=AWS_REGION
+    --conf spark.sql.catalog.spark_catalog.lf.managed=true
@@ -29,3 +36,0 @@ You should also **be careful NOT to pass** the following assume role settings:
-    --conf spark.sql.catalog.my_catalog.client.assume-role.region 
-    --conf spark.sql.catalog.my_catalog.client.assume-role.arn 
-    --conf spark.sql.catalog.my_catalog.client.assume-role.tags.LakeFormationAuthorizedCaller
@@ -53 +58 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Hudi and Lake Formation
+Apache Hudi with fine-grained access control
@@ -55 +60 @@ Hudi and Lake Formation
-Delta Lake and Lake Formation
+Apache Delta Lake with fine-grained access control