AWSQuickSetupManageJITNAResourcesExecutionPolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:26 PM UTC
Version
v6
Total Versions
2
Created
Feb 12, 2026
Actions
8
Risk
MediumThe 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 grant itself more permissions
Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.
- iam:AttachRolePolicy: condition iam:PolicyARN, on arn:aws:iam::*:role/SSM-JustInTimeAccessTokenRole
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": "CreateJustInTimeAccessServiceLinkedRole",
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole"
],
"Resource": [
"arn:aws:iam::*:role/aws-service-role/justintimeaccess.ssm.amazonaws.com/AWSServiceRoleForSystemsManagerJustInTimeAccess"
],
"Condition": {
"StringLike": {
"iam:AWSServiceName": "justintimeaccess.ssm.amazonaws.com"
}
}
},
{
"Sid": "CreateSystemsManagerNotificationServiceLinkedRole",
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole"
],
"Resource": [
"arn:aws:iam::*:role/aws-service-role/notifications.ssm.amazonaws.com/AWSServiceRoleForSystemsManagerNotifications"
],
"Condition": {
"StringLike": {
"iam:AWSServiceName": "notifications.ssm.amazonaws.com"
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:AttachRolePolicy"
],
"Resource": "arn:aws:iam::*:role/SSM-JustInTimeAccessTokenRole",
"Condition": {
"ArnEquals": {
"iam:PolicyARN": "arn:aws:iam::*:policy/AWSSystemsManagerJustInTimeAccessTokenPolicy"
}
}
},
{
"Sid": "IAMRoleManagementPermissions",
"Effect": "Allow",
"Action": [
"iam:CreateRole",
"iam:GetRole",
"iam:TagRole"
],
"Resource": [
"arn:aws:iam::*:role/SSM-JustInTimeAccessTokenRole"
],
"Condition": {
"ForAnyValue:StringLike": {
"aws:TagKeys": [
"QuickSetup*"
]
},
"StringEquals": {
"aws:ResourceTag/QuickSetupDocument": [
"AWSQuickSetupType-JITNA"
]
}
}
},
{
"Sid": "ServiceSettingsManagementPermissions",
"Effect": "Allow",
"Action": [
"ssm:UpdateServiceSetting",
"ssm:GetServiceSetting"
],
"Resource": [
"arn:aws:ssm:*:*:servicesetting/ssm/just-in-time-access/identity-provider"
]
}
]
},
"VersionId": "v6",
"IsDefaultVersion": true,
"CreateDate": "2026-02-12T17:57:30+00:00"
}
}Version History (5 recorded)
Raw historyAWSQuickSetupManageJITNAResourcesExecutionPolicy - Policy Version v6
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
32a0ab0AWSQuickSetupManageJITNAResourcesExecutionPolicy - Policy Version v6
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
3f32567AWSQuickSetupManageJITNAResourcesExecutionPolicy - Policy Version v4
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
2cb6d53Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 23, 2025
edc8fb8Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 17, 2025
eb7b885