Skip to content

SES: create auth's own IAM credentials and set Heroku config vars #76

Description

@mroderick

Depends on nothing (independent of the code change issue).

  • Create a dedicated IAM user for auth email sending in eu-west-1 (Heroku region is eu, matching planner's choice for the planner migration)
  • Policy scoped to ses:SendEmail, identity codebar.io, from address auth-noreply@codebar.io — verify allowed actions and condition keys against the current SES developer guide when writing the policy
  • Store the access keys only as Heroku config vars on the auth app: SES_REGION, SES_ACCESS_KEY_ID, SES_SECRET_ACCESS_KEY
  • Credentials must not appear anywhere in the repo

These credentials are separate from planner's SES SMTP credentials (codebar/planner#2926, which are SMTP-credential type) so either app's email credentials can be rotated or revoked without touching the other. Sending quota, suppression list, and domain/DKIM are SES account-level state already set up by the planner migration — nothing to redo here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions