Skip to content

Commit

Permalink
Merge pull request #84 from lpsinger/update-iam-documentation
Browse files Browse the repository at this point in the history
Document IAM resource keys for SES configuration set
  • Loading branch information
dakota002 committed May 8, 2023
2 parents d76b8d2 + 50cb0bc commit 725ff42
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 725ff42

Please sign in to comment.