AWSLicenseManagerUserSubscriptionsServiceRolePolicy
Last Modified
Jul 10, 2026
July 10, 2026 at 09:03 PM UTC
Version
v6
Total Versions
6
Created
Jul 10, 2026
Actions
20
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 take over existing resources that run as another role
Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.
- ssm:SendCommand: on arn:aws:ssm:*::document/AWS-RunPowerShellScript
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": "DSReadPermissions",
"Effect": "Allow",
"Action": [
"ds:DescribeDirectories",
"ds:GetAuthorizedApplicationDetails",
"ds:DescribeTrusts"
],
"Resource": "*"
},
{
"Sid": "SSMReadPermissions",
"Effect": "Allow",
"Action": [
"ssm:GetInventory",
"ssm:GetCommandInvocation",
"ssm:ListCommandInvocations",
"ssm:DescribeInstanceInformation"
],
"Resource": "*"
},
{
"Sid": "EC2ReadPermissions",
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeVpcPeeringConnections"
],
"Resource": "*"
},
{
"Sid": "EC2WritePermissions",
"Effect": "Allow",
"Action": [
"ec2:TerminateInstances",
"ec2:CreateTags"
],
"Condition": {
"StringEquals": {
"ec2:productCode": [
"bz0vcy31ooqlzk5tsash4r1ik",
"d44g89hc0gp9jdzm99rznthpw",
"77yzkpa7kvee1y1tt7wnsdwoc",
"a8jthu9h8pjsn4b8ylvfl6sfr",
"7at6der8hnlov1g347e6tdkde",
"3t0v0vuhvxjzm6m462f9v8iz4",
"4gs2prcp03ojilgkjx8m3ifh7",
"5uypd9kpy863kwykrwn4bcolv",
"eqtok9gt75we12qgk28b955qc"
]
}
},
"Resource": [
"arn:aws:ec2:*:*:instance/*"
]
},
{
"Sid": "SSMDocumentExecutionPermissions",
"Effect": "Allow",
"Action": [
"ssm:SendCommand"
],
"Resource": [
"arn:aws:ssm:*::document/AWS-RunPowerShellScript"
]
},
{
"Sid": "SSMInstanceExecutionPermissions",
"Effect": "Allow",
"Action": [
"ssm:SendCommand"
],
"Resource": [
"arn:aws:ec2:*:*:instance/*"
],
"Condition": {
"StringEquals": {
"aws:ResourceTag/AWSLicenseManager": "UserSubscriptions"
}
}
},
{
"Sid": "ReadHostedZonePermissions",
"Effect": "Allow",
"Action": [
"route53:GetHostedZone",
"route53:ListResourceRecordSets"
],
"Resource": "*"
},
{
"Sid": "ReadSecurityGroupRulePermissions",
"Effect": "Allow",
"Action": [
"ec2:DescribeSecurityGroupRules"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Sid": "DescribeSubnetsPermissions",
"Action": [
"ec2:DescribeSubnets"
],
"Resource": "*"
},
{
"Sid": "DescribeNetworkInterfacePermissions",
"Effect": "Allow",
"Action": [
"ec2:DescribeNetworkInterfaces"
],
"Resource": "*"
},
{
"Sid": "DescribeVpcEndpoints",
"Effect": "Allow",
"Action": [
"ec2:DescribeVpcEndpoints"
],
"Resource": "*"
},
{
"Sid": "ReadSecretPermissions",
"Effect": "Allow",
"Action": [
"secretsmanager:GetSecretValue"
],
"Resource": "arn:aws:secretsmanager:*:*:secret:license-manager-user-*"
}
]
},
"VersionId": "v6",
"IsDefaultVersion": true,
"CreateDate": "2026-07-10T20:42:22+00:00"
}
}Version History (9 recorded)
Raw history2 actions added
scope changed, no action added or removed
AWSLicenseManagerUserSubscriptionsServiceRolePolicy - Policy Version v4
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
0fc00bdUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 8, 2024
e7556a5Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Nov 21, 2022
3e95ed5Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Oct 25, 2022
5261503Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Jul 30, 2022
aef6119