forked from TOPLIB-SYS-N961884/ENTERPRISE-ENROLLMENT-POLICY-STAT-9847867600480257948786510326576488684798503.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson1 AWS.json
45 lines (45 loc) · 1.1 KB
/
json1 AWS.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
{
"Id": "auto-rds-2",
"Statement": [
{
"Sid": "Allow access through RDS for all principals in the account that are authorized to use RDS",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": [
"kms:Encrypt",
"kms:Decrypt",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
"kms:CreateGrant",
"kms:ListGrants",
"kms:DescribeKey"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"kms:ViaService": "rds.us-west-2.amazonaws.com",
"kms:CallerAccount": "486381988016"
}
}
},
{
"Sid": "Allow direct access to key metadata to the account",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::486381988016:root"
},
"Action": [
"kms:Describe*",
"kms:Get*",
"kms:List*",
"kms:RevokeGrant"
],
"Resource": "*"
}
],
"Version": "2012-10-17"
}
}