Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (50.2k points)

Recently I have been trying to call a Lambda Function through AWS API Gateway. Whenever I mention Authentication type nothing works there but API becomes public and anyone with URL can access my API. To make my API call secure, I am using Authentication type AWS_IAM and also attached AmazonAPIGatewayInvokeFullAccess policy to my user but still, I am getting this error as below:

{ message: "Missing Authentication Token"}

 Can anyone guide me with what is needed to be done?

1 Answer

0 votes
by (108k points)

I suppose you are directly trying to access API link.

This wouldn't work because API is secured using the role of IAM and you must provide AWS authentication i.e Access key and Secret key.

Try to use the Postman Chrome extension to test your API:

http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-use-postman-to-call-api.html

Related questions

+7 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories

...