Flags
Examples
The examples below outline the most common use cases for thedb tokens create command.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
turso db tokens create <database-name> [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. |
db tokens create command.
turso db tokens create <database-name> --read-only
turso db tokens create <database-name> --expiration 7d3h2m1s
Was this page helpful?