Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions policy/kms-action.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ const (
KMSAuditLogAction KMSAction = "kms:AuditLog"
// KMSErrorLogAction - subscribes to the error log
KMSErrorLogAction KMSAction = "kms:ErrorLog"
// KMSEnableAction - allows enabling builtin KMS
KMSEnableAction KMSAction = "kms:Enable"
// KMSKeyRotateAction - allows rotating KMS keys
KMSKeyRotateAction KMSAction = "kms:KeyRotate"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
// AllKMSActions - provides all admin permissions
AllKMSActions KMSAction = "kms:*"
)
Expand Down Expand Up @@ -90,6 +94,8 @@ var supportedKMSActions = map[KMSAction]struct{}{
KMSVersionAction: {},
KMSAuditLogAction: {},
KMSErrorLogAction: {},
KMSEnableAction: {},
KMSKeyRotateAction: {},
AllKMSActions: {},
}

Expand Down
Loading