den123
den123

Reputation: 801

Is it possible to use AWS API without Authentication Token

I try to use AWS lambda. I don't want to use any authentication - it is a simple test function. I receive

{
    "message": "Missing Authentication Token"
}

Is it possible to use AWS API without Authentication Token?

Thanks in advance.

Upvotes: 4

Views: 5753

Answers (2)

Pavel
Pavel

Reputation: 678

Yes, it's possible. You can configure if you want to use Authorization, Request Validator or API key for each resource you created.

Also make sure you invoke the right URL and path of your API, because I had the same issue when I tried to trigger an undeclared path.

AWS console

Upvotes: 4

Vijayanath Viswanathan
Vijayanath Viswanathan

Reputation: 8571

Yes, you can create it without Authentication. It means it will default execution role. I have a video blog on the same, which creates and run API without any authentication token. Please see the same below,

https://youtu.be/0HwO14p9cjk

Always remember to deploy API after any change :)

Upvotes: 0

Related Questions