Skip to content

Instantly share code, notes, and snippets.

@QuynhVir
Created February 20, 2020 10:05
Show Gist options
  • Save QuynhVir/362f95d2a8c5e686481e77bc507456ad to your computer and use it in GitHub Desktop.
Save QuynhVir/362f95d2a8c5e686481e77bc507456ad to your computer and use it in GitHub Desktop.
restrict SMTP credentials to specific sender in Amazon SES
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"ses:SendRawEmail"
],
"Condition": {
"StringEquals": {
"ses:FromAddress": "do-not-reply@example.com"
}
},
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment