AWS emr high security documentation change
Summary
Updated documentation to enforce mandatory configuration steps for trusted-identity propagation, including required permissions (sts:SetContext) and corrected grammar/terminology.
Security assessment
The changes emphasize mandatory requirements (e.g., 'must' instead of 'need to') for security-critical configurations like enabling trusted-identity propagation and adding sts:SetContext permissions. Incorrect configuration could lead to unauthorized access to downstream services like S3 or Lake Formation.
Diff
diff --git a/emr/latest/EMR-Serverless-UserGuide/security-iam-service-trusted-prop-getting-started.md b/emr/latest/EMR-Serverless-UserGuide/security-iam-service-trusted-prop-getting-started.md index 29cc292b8..731900149 100644 --- a//emr/latest/EMR-Serverless-UserGuide/security-iam-service-trusted-prop-getting-started.md +++ b//emr/latest/EMR-Serverless-UserGuide/security-iam-service-trusted-prop-getting-started.md @@ -52 +52 @@ In addition to the basic [permissions that are required to access EMR Serverless -You need to specify `—identity-center-configuration` field with `identityCenterInstanceArn` to enable trusted-identity propagation in the application. Use the following example command to create an EMR Serverless Application that has trusted-identity propagation enabled. +You must specify `—identity-center-configuration` field with `identityCenterInstanceArn` to enable trusted-identity propagation in the application. Use the following example command to create an EMR Serverless Application that has trusted-identity propagation enabled. @@ -56 +56 @@ You need to specify `—identity-center-configuration` field with `identityCente -You also need to specify `--interactive-configuration '{"livyEndpointEnabled":true}'` as trusted-identity propagation is enabled for Apache Livy Endpoint only. +You also must specify `--interactive-configuration '{"livyEndpointEnabled":true}'` as trusted-identity propagation is enabled for Apache Livy Endpoint only. @@ -72 +72 @@ You also need to specify `--interactive-configuration '{"livyEndpointEnabled":tr -In case you don't have the required Identity Center permissions (mentioned above), you should first create the EMR Serverless Application without trusted-identity propagation (for instance, dont specify `—identity-center-configuration` parameter) and later ask your Identity Center Admin to enable the trusted-identity propagation by invoking update-application API, see example below: +In case you don't have the required Identity Center permissions (mentioned previously), first create the EMR Serverless Application without trusted-identity propagation (for instance, dont specify `—identity-center-configuration` parameter) and later ask your Identity Center Admin to enable the trusted-identity propagation by invoking update-application API, see example below: @@ -87 +87 @@ Do not manually modify settings on the managed Identity Center Application. Any -As EMR-Serverless leverage Identity-enhanced job-execution-role credentials to propagate identity to downstream AWS services, Job Execution Role's trust-policy must have additional permission `sts:SetContext` to enhance job execution-role credential with identity to allow trusted-identity-propagation to downstream service, such as S3 access-grant, Lake Formation, or Amazon Redshift. To learn more about how to create a role, see [Create a job runtime role](getting-started.html#gs-runtime-role). +As EMR-Serverless leverage Identity-enhanced job-execution-role credentials to propagate identity to downstream AWS services, Job Execution Role's trust-policy must have additional permission `sts:SetContext` to enhance job execution-role credential with identity to allow trusted-identity-propagation to downstream service, such as S3 access-grant, Lake Formation, or Amazon Redshift. To learn more about how to create a role, refer to [Create a job runtime role](getting-started.html#gs-runtime-role). @@ -110 +110 @@ JSON -Additionally, JobExecutionRole would need permissions for downstream AWS services which job-run would invoke to fetch data using user identity. Please refer below links to configure S3 Access Grant, Lake Formation. +Additionally, JobExecutionRole needs permissions for downstream AWS services which job-run would invoke to fetch data using user identity. Please refer below links to configure S3 Access Grant, Lake Formation.