Skip to content

Commit

Permalink
Fixing hash id
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroc0d3 committed May 9, 2023
1 parent c86f14d commit 612a08e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cat <<EOF > kms-key-for-encryption-on-ebs.json
"kms:ListGrants",
"kms:RevokeGrant"
],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/4d7ef7e8-cef9-4482-bc2e-87c742544ee5"],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/HASH_ID"],
"Condition": {
"Bool": {
"kms:GrantIsForAWSResource": "true"
Expand All @@ -68,7 +68,7 @@ cat <<EOF > kms-key-for-encryption-on-ebs.json
"kms:GenerateDataKey*",
"kms:DescribeKey"
],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/4d7ef7e8-cef9-4482-bc2e-87c742544ee5"]
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/HASH_ID"]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"kms:ListGrants",
"kms:RevokeGrant"
],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/4d7ef7e8-cef9-4482-bc2e-87c742544ee5"],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/HASH_ID"],
"Condition": {
"Bool": {
"kms:GrantIsForAWSResource": "true"
Expand All @@ -24,7 +24,7 @@
"kms:GenerateDataKey*",
"kms:DescribeKey"
],
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/4d7ef7e8-cef9-4482-bc2e-87c742544ee5"]
"Resource": ["arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/HASH_ID"]
}
]
}

0 comments on commit 612a08e

Please sign in to comment.