API Gateway 403 with IAM authorization enabled

189 Views Asked by At

I've created an API on API Gateway and without authentication I'm able to access the API without any issues.

I then enabled IAM authentication and now I get 403 on Postman and this message:

{
    "message": "Forbidden"
}

On Postman I'm sending the authorization as AWS Signature and still get the same error.

On AWS I'm have full access to API Gateway since I have AdminFullAccess permissions.

I don't get any headers on the response that could help me debug the issue as mentioned here: https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-troubleshoot-403-forbidden/

Any ideas?

Thanks

1

There are 1 best solutions below

0
On

The request doesn't work on Postman because I have multiple profiles.

I got this working via awscurl and by specifying the profile.