SageMakerStudioEMRContainersSystemNamespaceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:29 PM UTC

Version

v6

Total Versions

3

Created

Feb 12, 2026

Actions

3

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can take over other users or roles

    Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.

    • sts-001sts:AssumeRolescoped
      • sts:AssumeRole: condition aws:ResourceTag/AmazonDataZoneProject, on arn:aws:iam::*:role/datazone_usr_role_*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "AssumeProjectRoles",
          "Effect": "Allow",
          "Action": [
            "sts:AssumeRole"
          ],
          "Resource": [
            "arn:aws:iam::*:role/datazone_usr_role_*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}"
            }
          }
        },
        {
          "Sid": "TagSessionProjectRoles",
          "Effect": "Allow",
          "Action": [
            "sts:TagSession"
          ],
          "Resource": [
            "arn:aws:iam::*:role/datazone_usr_role_*"
          ],
          "Condition": {
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "LakeFormationAuthorizedCaller"
              ]
            },
            "StringEquals": {
              "aws:RequestTag/LakeFormationAuthorizedCaller": "EMR on EKS Engine",
              "aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}"
            }
          }
        },
        {
          "Sid": "SetContextProjectRoles",
          "Effect": "Allow",
          "Action": [
            "sts:SetContext"
          ],
          "Resource": [
            "arn:aws:iam::*:role/datazone_usr_role_*"
          ],
          "Condition": {
            "ForAllValues:ArnEquals": {
              "sts:RequestContextProviders": [
                "arn:aws:iam::aws:contextProvider/IdentityCenter"
              ]
            },
            "Null": {
              "sts:RequestContextProviders": "false"
            },
            "StringEquals": {
              "aws:ResourceTag/AmazonDataZoneProject": "${aws:PrincipalTag/AmazonDataZoneProject}"
            }
          }
        }
      ]
    },
    "VersionId": "v6",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:01:48+00:00"
  }
}

Version History (6 recorded)

Raw history
v6updated

scope changed, no action added or removed

dbe1338

SageMakerStudioEMRContainersSystemNamespaceRolePolicy - Policy Version v6

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

e88889b

SageMakerStudioEMRContainersSystemNamespaceRolePolicy - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

7632286

SageMakerStudioEMRContainersSystemNamespaceRolePolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Oct 31, 2025

8be3b8e

SageMakerStudioEMRContainersSystemNamespaceRolePolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Oct 30, 2025

5c695c3

SageMakerStudioEMRContainersSystemNamespaceRolePolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Oct 23, 2025

8e24da9