We've got dockerized microservices in AWS, all behind an API Gateway and accessible via REST. Authentication is managed by the API Gateway.
Is there any possibility to test those REST-microservices on a local machine (including authentication/api gateway logic)? Is there a possibility to make the API Gateway echo back the requests to my local machine and to call the microservices running locally? What is best practice for testing API Gateway managed authentication locally?
Thanks!
https://github.com/dherault/serverless-offline
which emulates Lambda and API Gateway. In this, API Gateway emulates lot of functionalities with custom authorizer. However AFAIK it does not support user pools at the moment. However here you can't separate API Gateway, but I am sure you can hack a way to get it work with your microservices. – Rumesh Eranga Hapuarachchi