diff --git a/notify.md b/notify.md index 9b95ae5..e811839 100644 --- a/notify.md +++ b/notify.md @@ -639,4 +639,37 @@ Here are the step to configure Gchat notify: `acme.sh --set-notify --notify-hook gchat` +## 23. Set notification for AWS SES (API) +Uses AWS SES API (rather than SMTP credentials). +You'll need to setup a API user with the following security permissions to send email. +``` +{ + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "VisualEditor0", + "Effect": "Allow", + "Action": [ + "ses:SendEmail", + "ses:SendRawEmail", + "ses:SendBulkEmail" + ], + "Resource": "*" + } + ] +} +``` +Usage: +```sh +export AWS_SES_ACCESS_KEY_ID="sdfsdfsdfljlbjkljlkjsdfoiwje" +export AWS_SES_SECRET_ACCESS_KEY="xxxxxxxxxxxxxx" +# Use the REGION column from the table +# https://docs.aws.amazon.com/general/latest/gr/ses.html +export AWS_SES_REGION="xx-xxxx-x" +export AWS_SES_TO="xxx@xxx.xxx" +export AWS_SES_FROM="xxx@xxx.xxx" +# Custom name other than the email FROM address configured above (optional). +export AWS_SES_FROM_NAME="Something" +acme.sh --set-notify --notify-hook aws_ses +```