Skip to content

PostgreSQL PostgreSQL Authentication

Qualytics signs in to PostgreSQL with a role name and password. Every query runs as that role, so PostgreSQL uses its grants to decide what Qualytics may read or write (see Permissions).

User and Password

Fill in User and Password in the Connection Properties section of the connection form. User is the PostgreSQL role Qualytics connects as; it needs the LOGIN attribute. Use a dedicated role for Qualytics, so its grants and its sign-ins are easy to tell apart from people's.

Note

The server's pg_hba.conf must also allow the role to connect from your Qualytics deployment's address, or the connection is refused before the password is checked. See Troubleshooting.

Credentials from a secrets manager

Any credential field can take its value from HashiCorp Vault or another secrets manager instead of being typed in: turn on Secrets Management on the connection and write ${key} in the field. See the HashiCorp Vault pages for setup and troubleshooting.