Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sending emails via AWS Simple Email Service (SES) using IAM #906

Open
danial-k opened this issue May 8, 2024 · 2 comments
Open
Labels
enhancement feedback required Waiting for a feedback
Milestone

Comments

@danial-k
Copy link

danial-k commented May 8, 2024

AWS Simple Email Service (SES) can be used without SMTP credentials when using an IAM role with AWS.

The AWS SDK for PHP allows sending emails and can use temporary IAM credentials as part of authentication.

When deployed on an EC2 instance or as an ECS task, an IAM role can be assigned to the application so that emails can be sent without SMTP credentials.

It would be very convenient for AWS deployments of self-service-password if we could specify that we're running in AWS and then be able to use SES for mail sending without credentials. This would remove the need to securely store and rotate credentials.

@coudot coudot added this to the 1.7.0 milestone May 8, 2024
@coudot
Copy link
Member

coudot commented May 8, 2024

Can be a new feature indeed, feel free to propose a contribution

@danial-k
Copy link
Author

danial-k commented May 8, 2024

Thanks @coudot, optionally load the aws sdk with composer as a new lib like the conversation on #583?

@davidcoutadeur davidcoutadeur added the feedback required Waiting for a feedback label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feedback required Waiting for a feedback
Projects
None yet
Development

No branches or pull requests

3 participants