Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Database

Autha uses PostgreSQL as database. Database handles account management (including public keys and refresh tokens) and invitations.

Add in config.yaml following code:

postgres:
  address: postgres:5432
  database: autha
  username: postgres
  password: postgres
  pool_size: 25
  ssl: false
ParameterDescription
addressURL of Postgres database.
databaseDatabase name on Postgres.
usernamePostgres’ username.
passwordPostgres’ password.
pool_sizeMaximum number of concurrent connections to database.
sslWether allow or not secure connection.