deliciousbrains / wp-offload-ses-lite

WP Offload SES Lite sends all outgoing WordPress emails through Amazon Simple Email Service (SES) instead of the local wp_mail() function.
https://wordpress.org/plugins/wp-ses/
13 stars 11 forks source link

Authentication through IAM instance profile #47

Closed ryan-burt closed 1 year ago

ryan-burt commented 1 year ago

I host my Wordpress server on EC2/ECS It would be great and inline with AWS security best practices to be able use the credentials attached to the instance rather than access keys.

Is this something being worked on?

ianmjones commented 1 year ago

This is already possible. :tada:

https://deliciousbrains.com/wp-offload-ses/doc/iam-roles/

Basically just add following to wp-config.php:

define( 'WPOSES_AWS_USE_EC2_IAM_ROLE', true );
ryan-burt commented 1 year ago

Awesome, thanks for the link Ian. I tried Googling with a couple of different phrases before posting this issue so I'm not sure how I missed that page.