Skip to content

Commit

Permalink
Document IAM resource keys for SES configuration set
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed May 8, 2023
1 parent e0d9426 commit 50cb0bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following environment variables may be used to configure the service:

## IAM Policy

The following is the minimum AWS IAM policy to grant the necessary permissions to this service. Replace `<region>` with the AWS region (e.g. `us-east-1`, `<account>` with the AWS account ID, and `<domain>` with the verified SES domain (e.g. `test.gcn.nasa.gov`.))
The following is the minimum AWS IAM policy to grant the necessary permissions to this service. Replace `<region>` with the AWS region (e.g. `us-east-1`), `<account>` with the AWS account ID, `<domain>` with the verified SES domain (e.g. `test.gcn.nasa.gov`), and `<configuration-set>` with the SES configuration set.

```json
{
Expand All @@ -25,7 +25,10 @@ The following is the minimum AWS IAM policy to grant the necessary permissions t
"ses:SendEmail",
"ses:SendRawEmail"
],
"Resource": "arn:aws:ses:<region>:<account>:identity/<domain>",
"Resource": [
"arn:aws:ses:<region>:<account>:identity/<domain>",
"arn:aws:ses:<region>:<account>:configuration-set/<configuration-set>"
],
"Effect": "Allow"
},
{
Expand Down

0 comments on commit 50cb0bc

Please sign in to comment.