loading...

Load Credentials using IAM Role Programmatically

aliartiza75 profile image Irtiza Ali ・1 min read

This repository contains guidelines to call AWS API Gateway’s endpoint from EC2 instance using a node.js and python scripts. The scripts need to send sign requests to the endpoint, so therefore it needs AWS credentials. For security and automation purposes, AWS credentials are not provided as environment variables instead a role has been assigned to the EC2 instance, which allows EC2 to access the API Gateway Endpoint. In this story, I will explain how to load the credentials programmatically using node.js and python scripts.

Details

Follow the step by step guidelines provided in the README.md of this repository for implementation details.

Final Thoughts

I hope that you liked this story, please give feedback regarding anything that can be improved.

Discussion

markdown guide