turso API tokens can be scoped to an organization
Introduced 2026-01-29 · score 0.95
HOW TO USE IT
When minting an API token for an organization, pass its slug with `--org`. The v1.0.17 source does not show `--org` on the list command; see conflicts.
turso auth api-tokens mint <api-token-name> --org <organization-slug>turso auth api-tokens listWHY THIS HELPS
Create or list API tokens scoped to an organization.
REQUIREMENTS AND LIMITATIONS
- Version: v1.0.17
- <api-token-name> (required): Name for the token.
- --org <organization-slug>: Restricts the minted token to the organization with this slug.
- Prerequisite: Install the Turso CLI and authenticate with `turso auth login` before using authenticated commands.
- Docs conflict: The release note says `--org` scopes both creation and listing. In v1.0.17 source, mint defines `--org`, while list accepts no arguments and defines no `--org` flag.
FIRST-PARTY EVIDENCE
- https://github.com/tursodatabase/turso-cli/releases/tag/v1.0.17
- https://github.com/tursodatabase/turso-cli/pull/1022
- https://github.com/tursodatabase/turso-cli/blob/v1.0.17/internal/cmd/auth_createapitokens.go
- https://github.com/tursodatabase/turso-cli/blob/v1.0.17/internal/cmd/auth_listapitokens.go
- https://github.com/tursodatabase/turso-cli/blob/v1.0.17/README.md
Check the installed version and the source before using it. Entry JSON