We do not have permission for get-api-keys in apigateway and apigatewayv2.
In this PR, we are adding permissions for this API.
First of all, apigateway and apigatewayv2 are controlled by the same iam actions.
In securityAudit, it actually has permissions for get APi for apigateway and apigatewayv2, but not for resource get-api-keys
Summary
We do not have permission for get-api-keys in apigateway and apigatewayv2. In this PR, we are adding permissions for this API. First of all, apigateway and apigatewayv2 are controlled by the same iam actions. In securityAudit, it actually has permissions for get APi for apigateway and apigatewayv2, but not for resource get-api-keys
How did you test this change?
Verified that the error is access denied without the change. With this PR on the terraform change, access denied is gone. Detail test is here https://docs.google.com/document/d/1eQowgxHJ6JXQdMx3oMI5usrI-TvqXq6iw3sm9AqsJp0/edit
Issue
https://lacework.atlassian.net/browse/RAIN-91433