Obtain your credentials
Let's discover the steps to obtain the credentials
Amazon SES needs an access key, private key, and region.
Follow these steps to get your credentials:
Log in to the AWS Console
Open your browser and navigate to the Amazon AWS Console.
Log in with your credentials.
Access IAM (Identity and Access Management)
From the services menu, select IAM under the Security, Identity, & Compliance section.
In the IAM dashboard, click on Users in the left-hand navigation pane.
Create a New User
Click the Add user button.
Name the user (e.g., "SES-API-User") and check Programmatic access for the access type.
Click on Permissions.
Attach Permissions
Click Attach existing policies directly.
Use the search bar and type "SES" to filter policies.
Select the appropriate policy for your use, for instance
AmazonSESFullAccess
if you want to grant full access to this user.Click Next: Tags (you can add tags if you wish, but it's optional).
Click Next: Review.
Create the User
Review the information, and then click Create user.
Once the user is created, you'll see a confirmation screen with the user's details. Make a note of the Access key ID (accessKey) and Secret access key (secretKey). Ensure you do this now as you won't be able to view the secret key again.
⚠️ Warning: Keep your
accessKey
andsecretKey
secure and never share them. These keys provide programmatic access to your AWS account. If compromised, someone could incur high costs on your account or access your resources.
Determine the Region
The region depends on where you've set up your SES service. To determine it:
Go to the AWS console.
In the top-right menu, next to your username, there's a dropdown indicating the current region, e.g., "EU (Paris) eu-west-3". Note down the region code, in this example, it's "eu-west-3".
Last updated