On this page

    Personal Access Tokens

    Overview

    Personal access tokens (PATs) provide an easy way for an individual to connect to Dremio Cloud through the JDBC interface. Depending on the tool or service used, users may need to use $token as the username and then enter the PAT in the password field.

    Viewing All Tokens

    To view all tokens you have created:

    1. Click your username icon at the bottom-left corner of the screen.

    2. Click Account Settings.


    3. Click Personal Access Tokens in the navigation panel on the left. The Personal Access Tokens page shows all tokens, active and expired, for your account.

    Creating a Token

    note:

    A token’s expiration or lifespan cannot be altered once it is created.

    To create a new token:

    1. From the Personal Access Tokens page, click the Generate Token button on the top right.
    2. In the Generate Token dialog, for Label, add an identifier to describe what the token is for.
    3. For Lifetime, enter the number of days the token will be valid for. This value must be between 1 and 90 days. If left blank, the token will expire in 90 days by default.
    4. Click Generate.
    5. Copy the generated token and save it to a secure location on your computer. You will not be able to retrieve this token again from the Personal Access Tokens page once left.

    Deleting a Token

    To delete an existing token:

    1. From the Personal Access Tokens page, click the Delete icon (trash can) for the token you want to delete.
    2. Confirm that you want to delete the token.

    The token is deleted and cannot be retrieved.

    Deleting All Tokens

    1. From the Personal Access Tokens page, click the Delete All button at the top-right corner of the screen.
    2. Confirm that you want to delete all tokens for the logged in user.

    All tokens associated with this account are deleted and cannot be retrieved.