Skip to content

Commit

Permalink
Update detected
Browse files Browse the repository at this point in the history
  • Loading branch information
MAMIP Bot committed Jul 9, 2024
1 parent 2acbdc5 commit 41e8a51
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions policies/AWSLicenseManagerLinuxSubscriptionsServiceRolePolicy
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,48 @@
"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": "v1",
"IsDefaultVersion": false,
"CreateDate": "2022-12-20T18:54:54+00:00"
"VersionId": "v2",
"IsDefaultVersion": true,
"CreateDate": "2024-07-08T22:04:56+00:00"
}
}

0 comments on commit 41e8a51

Please sign in to comment.