TiDB Cloud Filesystem CLI Command Reference
Use ti fs to provision TiDB Cloud Filesystem resources and access their data from commands or local mounts.
In command syntax, square brackets ([]) enclose optional items. Parentheses group required choices, and a vertical bar (|) separates alternatives. For example, (--ttl <duration> | --no-expiration) means that you must specify exactly one of the two options.
Resource and token commands
Token-management authorization
When an owner token authorizes token management, it can list tokens, create scoped tokens, and revoke either owner or scoped tokens. It can enable or disable scoped tokens only. TiDB Cloud API credentials can enable, disable, or revoke either token kind.
AI provider configuration commands
These commands configure optional providers for extracting content from media files and generating embeddings. Ordinary Filesystem resource and file operations do not require AI provider configuration.
Data and namespace commands
Layer and portability commands
Layer references
A layer reference can be a layer ID, a unique layer name, or a tag reference in the form tag:<key>=<value>, for example tag:run=123. Because names and tag references can be ambiguous, use layer IDs in automation.
Mount profiles and local overlays
A local overlay stores files that a mount profile keeps on the local machine instead of in the remote namespace. Mount profiles define which paths use that overlay:
Mount commands
Command aliases
The following ti fs commands have Unix-style aliases. For example, ti fs cp is equivalent to ti fs copy-file. Commands not listed in the table, including pack-file-system and unpack-file-system, do not have aliases.
Aliases use the same options, authentication, output, query, and error behavior as canonical commands.
See also
- Manage TiDB Cloud Filesystem Resources
- Configure TiDB Cloud Filesystem AI Providers
- Manage TiDB Cloud Filesystem Tokens
- Work with TiDB Cloud Filesystem Data
- Manage Filesystem Layers and Checkpoints
- Mount a TiDB Cloud Filesystem
- Manage Git Workspaces on TiDB Cloud Filesystem
- Use TiDB Cloud Filesystem Journals
- Manage TiDB Cloud Filesystem Vault Secrets