-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add permissions for api key and usage plan CRUD
- Loading branch information
1 parent
714d11c
commit 378df36
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "", | ||
"Effect": "Allow", | ||
"Action": "apigateway:*", | ||
"Resource": [ | ||
"arn:aws:apigateway:*::/apikeys/*", | ||
"arn:aws:apigateway:*::/apikeys", | ||
"arn:aws:apigateway:*::/restapis/*/authorizers", | ||
"arn:aws:apigateway:*::/restapis/*/authorizers/*", | ||
"arn:aws:apigateway:*::/usageplans/*/keys/*", | ||
"arn:aws:apigateway:*::/usageplans/*/keys" | ||
] | ||
}, | ||
{ | ||
"Sid": "", | ||
"Effect": "Allow", | ||
"Action": "apigateway:*", | ||
"Resource": "arn:aws:apigateway:*::/usageplans/*" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters