Skip to content

Latest commit

 

History

History
executable file
·
5 lines (3 loc) · 621 Bytes

loading-node-credentials-iam.md

File metadata and controls

executable file
·
5 lines (3 loc) · 621 Bytes

Loading Credentials in Node.js from IAM Roles for EC2

If you run your Node.js application on an Amazon EC2 instance, you can leverage IAM roles for Amazon EC2 to automatically provide credentials to the instance. If you configure your instance to use IAM roles, the SDK automatically selects the IAM credentials for your application, eliminating the need to manually provide credentials.

For more information on adding IAM roles to an Amazon EC2 instance, see IAM Roles for Amazon EC2.