File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
documentation/rrelayer/docs/pages Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,26 @@ impl AwsKmsWalletManager {
221221 "Sid" : "AllowRootAccountAccess" ,
222222 "Effect" : "Allow" ,
223223 "Principal" : { "AWS" : format!( "arn:aws:iam::{}:root" , account_id) } ,
224- "Action" : "kms:*" ,
224+ "Action" : [
225+ "kms:DescribeKey" ,
226+ "kms:ListAliases" ,
227+ "kms:ListKeyPolicies" ,
228+ "kms:GetKeyPolicy" ,
229+ "kms:CreateAlias" ,
230+ "kms:DeleteAlias" ,
231+ "kms:ScheduleKeyDeletion" ,
232+ "kms:CancelKeyDeletion" ,
233+ "kms:EnableKey" ,
234+ "kms:DisableKey" ,
235+ "kms:EnableKeyRotation" ,
236+ "kms:DisableKeyRotation" ,
237+ "kms:RevokeGrant" ,
238+ "kms:RetireGrant"
239+ ] ,
225240 "Resource" : "*"
226241 } ,
227242 {
228- "Sid" : "AllowAdminPrincipalSelf " ,
243+ "Sid" : "AllowRelayerFullControl " ,
229244 "Effect" : "Allow" ,
230245 "Principal" : { "AWS" : admin_principal_arn } ,
231246 "Action" : "kms:*" ,
Original file line number Diff line number Diff line change 66
77### Features
88
9+ - feat: Tighten KMS key policy
10+
911---
1012
1113### Bug fixes
You can’t perform that action at this time.
0 commit comments