AWS emr: Add sts:TagSession to Identity Center role trust policy example
Summary
Updates the trust policy example to add sts:TagSession alongside sts:SetContext, updates the description to mention session tagging, and corrects the example account ID.
Security assessment
Adds a session-tagging permission to an IAM role trust policy example, which is required for trusted identity propagation; this is IAM authorization configuration guidance rather than a fixed vulnerability.
Evidence
"sts:TagSession"
Diff
diff --git a/emr/latest/ManagementGuide/emr-idc-start.md b/emr/latest/ManagementGuide/emr-idc-start.md index 596f4b4..ed3b89b 100644 --- a//emr/latest/ManagementGuide/emr-idc-start.md +++ b//emr/latest/ManagementGuide/emr-idc-start.md @@ -83 +83 @@ When you create the role, use the following permissions policy: -The trust policy for this role allows the InstanceProfile role to let it assume the role. +The trust policy for this role allows the InstanceProfile role to let it assume the role and tag the session. @@ -90 +90 @@ The trust policy for this role allows the InstanceProfile role to let it assume - "AWS": "arn:aws:iam::12345678912:role/EMR_EC2_DefaultRole" + "AWS": "arn:aws:iam::123456789012:role/EMR_EC2_DefaultRole" @@ -94 +94,2 @@ The trust policy for this role allows the InstanceProfile role to let it assume - "sts:SetContext" + "sts:SetContext", + "sts:TagSession"