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

Provide Limited access IAM policy example #50

Open brybeecher opened 2 months ago

brybeecher commented 2 months ago

Is it possible to run the plugin using an iam profile without full access to AWS SES? If so is there an example policy for this? I've tried limiting the actions permitted but it always results in the plugin failing to send email.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "VisualEditor0",
      "Effect": "Allow",
      "Action": [
        "ses:SendEmail",
        "ses:SendRawEmail"
      ],
      "Resource": "arn:aws:ses:us-west-2:12345:identity/mywebsite.com"
    }
  ]
}