aheckmann / node-ses

An Amazon SES api for nodejs with proper error handling.
http://aheckmann.github.com/node-ses
MIT License
201 stars 37 forks source link

[Question] Are AWS access keys required when running within AWS? #83

Open tiagojsag opened 9 months ago

tiagojsag commented 9 months ago

Hi,

First of all, thanks for creating and maintaining this project.

On to my question: can this lib be used within AWS infrastructure (say running in EC2) without explicitly passing the access key and secret? Judging by the code, my guess is "no", but I wanted to confirm with you, the maintainer(s). It has long been established that having IAM credentials being passed around inside AWS is a bad practice, and IAM roles should be used instead. Just wanted to confirm if that's an option with this lib

Thanks!