AWSLicenseManagerLinuxSubscriptionsServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v2

Total Versions

3

Created

Jul 8, 2024

Actions

13

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "EC2Permissions",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstances",
            "ec2:DescribeRegions"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Sid": "OrganizationPermissions",
          "Effect": "Allow",
          "Action": [
            "organizations:DescribeOrganization",
            "organizations:ListAccounts",
            "organizations:DescribeAccount",
            "organizations:ListChildren",
            "organizations:ListParents",
            "organizations:ListAccountsForParent",
            "organizations:ListRoots",
            "organizations:ListAWSServiceAccessForOrganization",
            "organizations:ListDelegatedAdministrators"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Sid": "SecretsManagerPermissions",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:GetSecretValue"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/LicenseManagerLinuxSubscriptions": "enabled",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          },
          "Resource": [
            "arn:aws:secretsmanager:*:*:secret:*"
          ]
        },
        {
          "Sid": "KMSPermissions",
          "Effect": "Allow",
          "Action": [
            "kms:Decrypt"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/LicenseManagerLinuxSubscriptions": "enabled",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringLike": {
              "kms:ViaService": [
                "secretsmanager.*.amazonaws.com"
              ]
            }
          },
          "Resource": [
            "arn:aws:kms:*:*:key/*"
          ]
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2024-07-08T22:04:56+00:00"
  }
}

Version History (6 recorded)

Raw history

AWSLicenseManagerLinuxSubscriptionsServiceRolePolicy - Policy Version v2

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

Mar 12, 2026

1f873fe

Update detected

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

Sep 18, 2024

aafbae9

Update detected

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

Jul 9, 2024

41e8a51

Update detected

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

Jul 8, 2024

e4cb163

Update detected

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

May 13, 2024

1b36617

Update detected

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

Dec 20, 2022

75238e7