Reputation: 3
I'm trying to create a personal blog using s3 and lambda. I already have the API setup but I'm trying to figure out how to make the blog post requests more secure by requiring an authorization token in order to access the API Gateway.
I believe this can be done with cognito user pools but is usually used with many users not a single admin user. However, if there's another way I should go about this then I'm all ears.
Upvotes: 0
Views: 115
Reputation: 416
You can implement this by:
As long as the token you send is valid, the Method Request is all you need to update in order to secure the ability to post.
Upvotes: 1