Skip to main content
You can create a new token that can be used to connect to one database using the command:

Flags

Examples

The examples below outline the most common use cases for the db tokens create command.

Create a token with read only access

You can create a token with read only access to a database using the following command:

Create a token with a specific expiration time

You can create a token with a specific expiration time using the following command: