File tree Expand file tree Collapse file tree 1 file changed +1
-34
lines changed Expand file tree Collapse file tree 1 file changed +1
-34
lines changed Original file line number Diff line number Diff line change 12
12
# language governing permissions and limitations under the License.
13
13
from __future__ import absolute_import
14
14
15
- KEY_ALIAS = "SageMakerKmsKey "
15
+ KEY_ALIAS = "SageMakerIntegTestKmsKey "
16
16
KEY_POLICY = '''
17
17
{{
18
18
"Version": "2012-10-17",
26
26
}},
27
27
"Action": "kms:*",
28
28
"Resource": "*"
29
- }},
30
- {{
31
- "Sid": "Allow use of the key",
32
- "Effect": "Allow",
33
- "Principal": {{
34
- "AWS": "{account_id}"
35
- }},
36
- "Action": [
37
- "kms:Encrypt",
38
- "kms:Decrypt",
39
- "kms:ReEncrypt*",
40
- "kms:GenerateDataKey*",
41
- "kms:DescribeKey"
42
- ],
43
- "Resource": "*"
44
- }},
45
- {{
46
- "Sid": "Allow attachment of persistent resources",
47
- "Effect": "Allow",
48
- "Principal": {{
49
- "AWS": "{account_id}"
50
- }},
51
- "Action": [
52
- "kms:CreateGrant",
53
- "kms:ListGrants",
54
- "kms:RevokeGrant"
55
- ],
56
- "Resource": "*",
57
- "Condition": {{
58
- "Bool": {{
59
- "kms:GrantIsForAWSResource": "true"
60
- }}
61
- }}
62
29
}}
63
30
]
64
31
}}
You can’t perform that action at this time.
0 commit comments