Is there a way to use an email address as a username instead of an 'Access Key ID' in Amazon SES using Amazon SES SMTP interface?

0

Is posible use an IAM user like "user@domain.com" instead of generate SES SMTP Credential like an 'Acces Key ID" in Amazon SES using Amazon SES SMTP interface?

EdwinFC
asked 23 days ago93 views
3 Answers
2

No, it's not possible to use an email address as a username instead of an 'Access Key ID' in Amazon SES using the Amazon SES SMTP interface. Amazon SES SMTP authentication information is derived from AWS credentials, where the SMTP username is the same as the AWS access key ID. Therefore, you need to generate SMTP credentials using the algorithm provided by AWS.

profile picture
answered 23 days ago
0

Hello.

The creation of Amazon SES SMTP authentication information is managed by AWS, so I don't think you can change the access key that serves as the user name.
https://docs.aws.amazon.com/ses/latest/dg/send-email-concepts-credentials.html
https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html

Derive the user's SMTP credentials from their AWS credentials by using the algorithm provided in this section. Because you're starting from AWS credentials, the SMTP user name is the same as the AWS access key ID, so you only need to generate the SMTP password.

profile picture
EXPERT
answered 23 days ago
0

=>Yes, you can indeed use an email address as the username when sending emails via the Amazon SES SMTP interface. However, it's important to clarify a few points:

=>Username: In the case of SMTP authentication with Amazon SES, the username is typically the SMTP username, not the email address itself. This username is used along with the SMTP password to authenticate your requests.

SMTP Credentials: Amazon SES SMTP credentials consist of an SMTP username and an SMTP password. These credentials are generated within the AWS Management Console, and they are used for authentication purposes when sending emails through the Amazon SES SMTP interface.

IAM Users: While IAM users in AWS are typically associated with Access Key IDs and Secret Access Keys for programmatic access to AWS services, including SES, they don't directly translate to SMTP authentication. However, you can use SMTP credentials generated within IAM to send emails via Amazon SES SMTP.

Email Address: While the email address itself isn't used as the username, you can certainly use it as part of the "From" address when sending emails through Amazon SES. This allows you to send emails from addresses like "user@domain.com".

=>So, to sum up, while you can't directly use an IAM user's email address as the SMTP username, you can generate SMTP credentials within IAM and use them to authenticate SMTP requests to Amazon SES, allowing you to send emails using your desired email addresses.

answered 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions