Skip to main content
Multilingual TursoDB, MVCC & AI Agent database guides Read Engine Guide →
Turso Cloud CLI Commands group tokens

group tokens create

group tokens create — Turso documentation.

You can create a new token that can be used to connect to any database in the group using the command:

turso group tokens create <group-name> [flags]

Flags

Flag Description
-e, --expiration The expiration time for a token, can be never or a value in days, e.g. 7d .
-r, --read-only Restrict the token to read only access.

Examples

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

Create a token with read only access

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

turso group tokens create <group-name> --read-only

Create a token with a specific expiration time

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

turso group tokens create <group-name> --expiration 7d
Synced from official Turso documentation ( tursodatabase/turso-docs · MIT License) Official Docs ↗
Search
Press Esc to close · Powered by Pagefind