amazon-iam-attach-policy

Amazon IAM :How to get AWS IAM credentials?

Hello Friends,

In this blog post, I will let you know about how to get the AWS IAM credentials from your AWS account for setting up the SMTP for sending the emails.

OR How to create a user at AWS for getting the Access key id and secret key?

OR How to attach the SES policy to take the permission for sending the emails?

If you are planning to use AWS for sending your emails then this blog post will guide you step by step.

What are these IAM credentials?

IAM stands for identity access management and these credentials allow us to send the emails using AWS SES.

What is this policy attachment?

This SES full access policy allows you to use all the SES services with full access.

This is very important to attach the policy, peoples often forget to attach policy and thus have a problem in sending the emails.




As SES have a variety of services so here we choose SES full access to take the permission over all the SES functionality.

What credentials are required for sending the emails through AWS SES?

Mainly you need 3 parameters for sending the emails using AWS SES.

1. Access key id:  see the procedure below.

2. Secret access key id: see the procedure below.

3. AWS verified email id:

If you have any doubt in getting the AWS verified email id then please go through the below extensive blog post.

Verify your email id at AWS SES…..

Why is it called SES not SMTP….?

Actually, they both are same if we see it on a broad scale, both works for sending the emails.

But if we go inside into the architecture then we will find SMTP is just used for sending the emails whereas SES consist of various other services like tracking the events such as bounce spam emails.

It also detects for malware in your content and etc.

So as SES have so many amazing features along with SMTP thus they give a name to this as SES. So don’t be confused with this.

How can you get the AWS IAM credentials(Access Key id or Secret key id) from your AWS account?

This is very simple to get the IAM credentials, just follow the below procedure step by step.







1. Login to your AWS account.

awsimg111


 


2. click on IAM at the service dashboard or main dashboard.

awsiamimg1



3. Click Users, see the below image.

awsiamimg2


4. Here you need to add user, click on add user, see the below image.

awsiamimg3


5. Enter the username as per your wish, just keep the relevant name to your business for which you want to send the emails. Check the box for getting the access key id and secret access key. See the image below.

awsiamimg4


6. This is a very important step to attach the SES policy. IF you forget this step you will not able to send your emails even after getting the access keys. So please remember to attach this policy. Here search for Amazon SES full access and select it by checking the checkbox. 

awsiamimg5


7. You are almost done with the process, just click on create user button.

awsiamimg6



8. Finally, you get the Access keys for connecting the SES with ESP and further sending emails. Please keep it secretly.

 

awsiamimg7


Here you can see the created user in your AWS user dashboard. See the below image.

awsiamimg8

In a case of any queries, you can write us at anurag@a5theory.com we will get back to you ASAP.

Hope! you would have enjoyed this post.

Please feel free to give your important feedbacks in the comment section below.

Have a great time! Sayonara!