# TimescaleDB TimescaleDB Authentication

Source: https://userguide.qualytics.io/source-datastore/datastore/jdbc/timescale-db/authentication/

Qualytics signs in to TimescaleDB with a role name and password, through the PostgreSQL JDBC driver. Every query runs as that role, so TimescaleDB uses its grants to decide what Qualytics may read (see [Permissions](https://userguide.qualytics.io/source-datastore/datastore/jdbc/timescale-db/permissions/)).

## User and Password

Fill in **User** and **Password** in the **Connection Properties** section of the connection form. **User** is the 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](https://userguide.qualytics.io/source-datastore/datastore/jdbc/timescale-db/troubleshooting/#connection-errors).

> **Tip: 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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/hashicorp-vault/) pages for setup and troubleshooting.

*Last updated: November 16, 2026.*
