AWS - APIGW with IAM Authorizer

 

In the previous post, we saw how to create an API GW with Lambda. In this post, we will see how to add an IAM Authorizer to the API GW. 

So, all the calls to API GW must be authenticated and authorized via the IAM user's Access and Secret Keys.



I already have an IAM user called "rsinfominds".

I added APIGW Invoke permission to the user and made a note of the access and secret key.



Now, We have an IAM user. Let's update the existing API GW with the IAM authorizer.


Finally hit deploy to save the changes. Now, It's time to test it via Postman.



It works. We got the reply "Hello from Lambda".



Comments

Popular posts from this blog

K8s - ETCD

SRE/DevOps Syllabus

K8s - Deployment and HPA replicas