Fork me on GitHub Link Search Menu Expand Document

PostgreSQL

storage:
  postgres:
    host: 127.0.0.1
    port: 5432
    database: authelia
    username: authelia
    # Password can also be set using a secret: https://docs.authelia.com/configuration/secrets.html
    password: mypassword
    sslmode: disable

SSL Mode

SSL mode configures how to handle SSL connections with Postgres. Valid options are ‘disable’, ‘require’, ‘verify-ca’, or ‘verify-full’. See the PostgreSQL Documentation or Pure Go Postgres driver Documentation for more information.

Loading a password from a secret instead of inside the configuration

Password can also be defined using a secret.