Skip to content

Commit

Permalink
add scan permission for kv read
Browse files Browse the repository at this point in the history
required to allow 'keys' method to scan for keys
  • Loading branch information
jyecusch committed Feb 27, 2024
1 parent 93534f7 commit eda49f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud/aws/deploy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var awsActionsMap map[resourcespb.Action][]string = map[resourcespb.Action][]str
resourcespb.Action_KeyValueStoreRead: {
"dynamodb:GetItem",
"dynamodb:BatchGetItem",
"dynamodb:Scan", // required to scan keys
},
resourcespb.Action_KeyValueStoreWrite: {
"dynamodb:UpdateItem",
Expand Down

0 comments on commit eda49f9

Please sign in to comment.