7. Secure API Gateway using Cognito User Pool | Terraform with AWS Tutorial
This is step by step guide to secure Amazon API Gateway using Amazon Cognito User Pool, all automated with Terraform. In this video I have demonstrated how to do authentication and authorization of the REST api. What you'll learn: - API Gateway with Cognito integration - Lambda Integration with API Gateway - Generating Bearer token using aws cognito-idp command - Terraform Automation Chapters: 0:00 Introduction 0:24 Architecture 1:29 Recap of Lecture 6 8:05 Cognito User Pool For Lecture 7 (Current lecture) : https://github.com/kodedge-swapneel/terraform-lectures/tree/main/lecture-7 GitHub Link : https://github.com/kodedge-swapneel/terraform-lectures Managing user existence error responses: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-managing-errors.html AWS CLI Command to get the token: aws cognito-idp admin-initiate-auth --region REGION --user-pool-id USER_POOL_ID --client-id CLIENT_ID --auth-flow ADMIN_NO_SRP_AUTH --auth-parameters USERNAME=USERNAME,PASSWORD=PASSWORD Previous Lecture Link (Lecture 6): https://youtu.be/gpXmaDwfQ50 Terraform with AWS Playlist : https://www.youtube.com/playlist?list=PLnRSa-mtH0ngx4ovc58PTZFmI5oIVu6aK Subscribe on : https://www.youtube.com/channel/UCJbxNCxaKK8rZve2i2Itl3w If you like the video please subscribe and comment. Tag: Secure API Gateway with Cognito Authorizer Secure REST API Amazon Cognito tutorial AWS Api Gateway AWS project Infrastructure as a code (IaC) ---------------------------------- Disclaimer/Policy: - Video is intended for educational purposes only and explanations about technical topics. - We make every effort to ensure the accuracy of the information presented, but we cannot guarantee that all information is current or entirely free from errors. - Viewers are encouraged to exercise their own judgment and consider their unique circumstances when applying the information from this video. - Mention of specific products, services, or brands in this video does not constitute an endorsement unless otherwise specified. - By accessing and using the information presented in this video, viewers agree to do so at their own risk, and we shall not be liable for any damages or losses. - All logos and images used in this video are the property of their respective copyright holders. Any copyrighted material is used here for educational purposes only. - Our use of logos and images is not intended to challenge or infringe upon the rights of the copyright holders, and we acknowledge their ownership - The inclusion of logos and images is for non-commercial, educational purposes only. #terraformtutorial #terraformwithaws #kodedge
Download
0 formatsNo download links available.