This page shows how to send an email using SES. The example works by reading the credentials from ~/.aws/credentials
, which are the root (yet \"shared\"??) credenti
Two options...
You could create IAM User credentials with the appropriate permissions and put them in the ~./aws/credentials
file. Then your application will find them and use them to connect with Amazon SES.
Or, your application could use a set of IAM User credentials to call assume_role()
(which is an IAM command). This will return a set of temporary credentials that could be used with Amazon SES. However, if you are going to provide a set of credentials that will be used to call assume_role()
, then you may as well just use those credentials directly with Amazon SES.
An IAM User can be used for people OR applications.