# Dremio Dremio Authentication

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

Qualytics signs in to Dremio with the account set in the **Authentication** section of the connection form. Every query runs as that account, so Dremio uses its privileges to decide what Qualytics may read (see [Permissions](https://userguide.qualytics.io/source-datastore/datastore/jdbc/dremio/permissions/)). The **Type** field selects the method, and **Basic** is the default.

## Authentication Methods

Dremio supports two authentication methods:

| Method | Configuration |
| --- | --- |
| **Basic (Username & Password)** | Use the Dremio username and password directly |
| **Personal Access Token (PAT)** | Generate a PAT from **Account Settings > Personal Access Tokens** in Dremio and use it as the authentication credential |

In the connection form, the Personal Access Token option of **Type** is labeled **Access Token** (`PAT` in the API), and **Basic** is `BASIC`. See [Add Source Datastore](https://userguide.qualytics.io/source-datastore/datastore/jdbc/dremio/how-tos/add-source/#authentication) for the fields each option shows.

> **Note**
>
> Dremio Personal Access Tokens are user-scoped: the token carries the privileges of the user who generated it. Generate it as a user with `SELECT` on the target datasets.

> **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.*
