User DB

PostgreSQL database that holds user accounts and profiles. Only the User API reads or writes it; other services ask the User API or listen for user.* events.

  • Tables: users, profiles, credentials (password hashes only) and password_resets.
  • Personal data: this is the primary store of personal data. Deleting an account removes the row and publishes user.deleted, so other services remove or anonymize their copies.
  • In prod: Amazon RDS, managed by module.user_db in Terraform, with automated backups and point-in-time recovery.

Edit ./docs/containers/user_db.md to change this text.