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 1212# language governing permissions and limitations under the License.
1313from __future__ import absolute_import
1414
15- KEY_ALIAS = "SageMakerKmsKey "
15+ KEY_ALIAS = "SageMakerIntegTestKmsKey "
1616KEY_POLICY = '''
1717{{
1818 "Version": "2012-10-17",
2626 }},
2727 "Action": "kms:*",
2828 "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- }}
6229 }}
6330 ]
6431}}
You can’t perform that action at this time.
0 commit comments