Skip to content

docs: add TiDB Cloud Filesystem product documentation - #23876

Open
Icemap wants to merge 7 commits into
pingcap:release-8.5from
Icemap:docs/filesystem-product
Open

Icemap wants to merge 7 commits into
pingcap:release-8.5from
Icemap:docs/filesystem-product

Conversation

@Icemap

@Icemap Icemap commented Sep 15, 2026

Copy link
Copy Markdown
Member

What is changed, added or deleted? (Required)

Add dedicated English documentation for TiDB Cloud Filesystem in public preview, using the TiDB Cloud CLI (ti) throughout.

  • Add Introduction and Quick Start pages with API-key and Filesystem-token authentication paths.
  • Add a non-clickable Mounting Locally group with Overview, Linux, macOS, and Docker / Docker Compose pages.
  • Explain authorization, sharing Filesystems across environments, and branches and checkpoints.
  • Add TOC-tidb-cloud-filesystem.md and link the product introduction from the AI overview. Reuse existing CLI reference, regions, and troubleshooting pages.
  • Keep implementation-specific companion names out of the new product documentation.

Validation: Markdown lint passed for all changed pages and the TOC. Local validation covered internal links, shell example syntax, CLI flags, and the sidebar structure. An isolated Gatsby production preview containing the Filesystem and AI pages built successfully.

Publishing: the companion website change adds Product > TiDB Cloud Filesystem after TiDB Cloud Lake and publishes these pages under /tidbcloud-filesystem/. Merge these docs and propagate them to docs-staging before deploying that navigation.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • New Features

    • Added comprehensive TiDB Cloud Filesystem documentation, including quick starts, authorization, sharing, layers, checkpoints, automation, and file management.
    • Added platform-specific mounting guides for Linux, macOS, Docker, and Docker Compose.
    • Added guidance for persistent storage, scoped access tokens, read-only sharing, and AI agent workflows.
  • Documentation

    • Updated navigation, aliases, titles, and cross-references to improve discoverability and maintain consistent Filesystem documentation paths.

@ti-chi-bot

ti-chi-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jackysp for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 15, 2026
@Icemap

Icemap commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

Companion website PR: pingcap/website-docs#736

That PR adds Product > TiDB Cloud Filesystem after TiDB Cloud Lake, plus the /tidbcloud-filesystem/ route and dedicated sidebar. This PR supplies the documentation and TOC.

Please merge this content and let it propagate to docs-staging before deploying the website change, so the new product entry does not lead to a 404.

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a TiDB Cloud Filesystem documentation area with quick-start, authorization, sharing, mounting, layers, automation, CLI, and troubleshooting guides. Updates existing AI and CLI documentation links, titles, prerequisites, and legacy aliases.

Changes

TiDB Cloud Filesystem documentation

Layer / File(s) Summary
Documentation entry points and quick start
TOC-tidb-cloud-filesystem.md, tidb-cloud-filesystem/_index.md, tidb-cloud-filesystem/filesystem-quick-start.md, ai/ti/guides/manage-filesystems-via-cli.md, tidb-cloud-filesystem/use-filesystem-for-automation-and-ai-agents.md
Adds the Filesystem table of contents, landing page, quick-start workflow, CLI usage guide, and automation overview.
Local and container mounting
tidb-cloud-filesystem/filesystem-mount*.md
Documents local mounting on Linux and macOS, Docker and Docker Compose mounting, authentication, platform limitations, write draining, unmounting, and troubleshooting.
Authorization and Filesystem sharing
tidb-cloud-filesystem/filesystem-authorization.md, filesystem-sharing.md, manage-filesystem-tokens.md
Documents API keys, owner and scoped tokens, credential selection, token management, cross-machine access, handoff, and revocation.
Layers and checkpoints
tidb-cloud-filesystem/filesystem-branches-checkpoints.md, manage-filesystem-layers.md
Documents layers, forks, checkpoints, commits, visibility, lifecycle rules, conflicts, and related mount requirements.
Guide aliases and navigation updates
ai/_index.md, ai/ti/**, TOC-ai.md, tidb-cloud-filesystem/{configure-*,manage-*,use-*,work-*}.md
Updates Filesystem links, titles, prerequisites, related-guide paths, and legacy aliases across existing documentation.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Merge Risk: 🔵 Low · up to 4981d

Users following the new guides may encounter authorization failures or misunderstand read-only protection, while older Filesystem bookmarks may lead to a 404. The issues are localized documentation and routing fixes, so the change remains low merge risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the primary change: adding TiDB Cloud Filesystem product documentation.
Description check ✅ Passed The description is mostly complete. It explains the documentation changes, affected version, related links, AI involvement, validation, and publishing details. The Change aliases checkbox is not selec…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 411618d2-681d-4647-9206-a1ec4fdfed88

📥 Commits

Reviewing files that changed from the base of the PR and between 6acba5d and e380811.

📒 Files selected for processing (11)
  • TOC-tidb-cloud-filesystem.md
  • ai/_index.md
  • tidb-cloud-filesystem/_index.md
  • tidb-cloud-filesystem/filesystem-authorization.md
  • tidb-cloud-filesystem/filesystem-branches-checkpoints.md
  • tidb-cloud-filesystem/filesystem-mount-docker.md
  • tidb-cloud-filesystem/filesystem-mount-linux.md
  • tidb-cloud-filesystem/filesystem-mount-macos.md
  • tidb-cloud-filesystem/filesystem-mount.md
  • tidb-cloud-filesystem/filesystem-quick-start.md
  • tidb-cloud-filesystem/filesystem-sharing.md

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.

ls "$HOME/workspace"
```

For a token restricted to a subtree, add the matching `--remote-path`, for example `/workspace`. Add `--read-only` for a read-only token. Keep the application and mount under the same OS user. If your application image uses a non-root user, install dependencies while building the image and mount as the application user at runtime.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- target context ---'
sed -n '85,115p' tidb-cloud-filesystem/filesystem-mount-docker.md
printf '%s\n' '--- relevant definitions and references ---'
rg -n -C 3 --glob '!node_modules' --glob '!dist' --glob '!build' -- '--read-only|remote-path|read.only|token' .

Repository: pingcap/docs

Length of output: 50371


🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- target ---'
sed -n '96,110p' tidb-cloud-filesystem/filesystem-mount-docker.md
printf '%s\n' '--- mount reference ---'
sed -n '1,125p' ai/ti/reference/ti-fs-mount-file-system.md
printf '%s\n' '--- scoped-token reference ---'
sed -n '1,110p' ai/ti/reference/ti-fs-generate-file-system-scoped-token.md

Repository: pingcap/docs

Length of output: 11087


Security Misconfiguration

Reachability: External
Exploitability: Moderate
CWE: CWE-732 — Incorrect Permission Assignment for Critical Resource

Keep token permissions separate from --read-only.

--read-only only makes the local mount read-only. It does not make the token read-only or replace the token's server-enforced permissions.

Committable replacement
- For a token restricted to a subtree, add the matching `--remote-path`, for example `/workspace`. Add `--read-only` for a read-only token. Keep the application and mount under the same OS user. If your application image uses a non-root user, install dependencies while building the image and mount as the application user at runtime.
+ For a token restricted to a subtree, add the matching `--remote-path`, for example `/workspace`. Add `--read-only` to prevent local write attempts; it does not replace the token's server-enforced permissions. Keep the application and mount under the same OS user. If your application image uses a non-root user, install dependencies while building the image and mount as the application user at runtime.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
For a token restricted to a subtree, add the matching `--remote-path`, for example `/workspace`. Add `--read-only` for a read-only token. Keep the application and mount under the same OS user. If your application image uses a non-root user, install dependencies while building the image and mount as the application user at runtime.
For a token restricted to a subtree, add the matching `--remote-path`, for example `/workspace`. Add `--read-only` to prevent local write attempts; it does not replace the token's server-enforced permissions. Keep the application and mount under the same OS user. If your application image uses a non-root user, install dependencies while building the image and mount as the application user at runtime.

Comment on lines +8 to +14
- [Introduction](/tidb-cloud-filesystem/_index.md)
- [Quick Start](/tidb-cloud-filesystem/filesystem-quick-start.md)
- Mounting Locally
- [Overview](/tidb-cloud-filesystem/filesystem-mount.md)
- [Linux](/tidb-cloud-filesystem/filesystem-mount-linux.md)
- [macOS](/tidb-cloud-filesystem/filesystem-mount-macos.md)
- [Docker and Docker Compose](/tidb-cloud-filesystem/filesystem-mount-docker.md)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Fix the Filesystem TOC links or add the published route mapping. The link checker sends /tidb-cloud-filesystem/... directly to https://docs.pingcap.com/tidb-cloud-filesystem/..., and the tested entry points return 404. The proposed /tidbcloudfs/ path also currently returns 404, so use the actual deployed route or add a redirect before changing these links.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: ab0232fb-b46d-4568-903c-c012a20583d3

📥 Commits

Reviewing files that changed from the base of the PR and between e380811 and 43eee5c.

📒 Files selected for processing (29)
  • TOC-ai.md
  • TOC-tidb-cloud-filesystem.md
  • ai/_index.md
  • ai/ti/guides/manage-filesystems-via-cli.md
  • ai/ti/guides/ti-agent-sandbox-example.md
  • ai/ti/guides/ti-ci-artifact-handoff-example.md
  • ai/ti/reference/ti-filesystem-git.md
  • ai/ti/reference/ti-filesystem-journal.md
  • ai/ti/reference/ti-filesystem-vault.md
  • ai/ti/reference/ti-filesystem.md
  • ai/ti/reference/ti-install-configure-update.md
  • ai/ti/reference/ti-migrate-from-tdc.md
  • ai/ti/reference/ti-troubleshooting.md
  • ai/ti/ti-overview.md
  • ai/ti/ti-quick-start.md
  • tidb-cloud-filesystem/configure-filesystem-ai-providers.md
  • tidb-cloud-filesystem/filesystem-authorization.md
  • tidb-cloud-filesystem/filesystem-branches-checkpoints.md
  • tidb-cloud-filesystem/filesystem-mount-linux.md
  • tidb-cloud-filesystem/filesystem-mount.md
  • tidb-cloud-filesystem/manage-filesystem-layers.md
  • tidb-cloud-filesystem/manage-filesystem-resources.md
  • tidb-cloud-filesystem/manage-filesystem-tokens.md
  • tidb-cloud-filesystem/manage-filesystem-vault-secrets.md
  • tidb-cloud-filesystem/manage-git-workspaces.md
  • tidb-cloud-filesystem/mount-filesystem.md
  • tidb-cloud-filesystem/use-filesystem-for-automation-and-ai-agents.md
  • tidb-cloud-filesystem/use-filesystem-journals.md
  • tidb-cloud-filesystem/work-with-filesystem-data.md

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Comment thread tidb-cloud-filesystem/manage-filesystem-resources.md
Comment thread tidb-cloud-filesystem/manage-filesystem-tokens.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

🟡 Minor · Document the owner-token requirement for fork-layer. · manage-filesystem-layers.md:16

tidb-cloud-filesystem/manage-filesystem-layers.md:16
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Document the owner-token requirement for fork-layer.

The scoped-token contract excludes fork, so a scoped token with write permission cannot run the documented fork-layer command. Commands can also require multiple operations, so the proposed read/list versus write mapping is not complete.

Suggested replacement
- For the commands below, set `TI_FS_FILE_SYSTEM_ID` to the Filesystem ID and use its locally stored FS token. Alternatively, set `TI_FS_TOKEN` and `TI_REGION_CODE` for token-only access; the token identifies the Filesystem. To select a Filesystem per command instead, add `--file-system-id "<file-system-id>"` to each command. Use a token with the required read or write permission. See [Authorization](/tidb-cloud-filesystem/filesystem-authorization.md#understand-local-selection) for selection details.
+ For the commands below, set `TI_FS_FILE_SYSTEM_ID` to the Filesystem ID and use its locally stored FS token. Alternatively, set `TI_FS_TOKEN` and `TI_REGION_CODE` for token-only access; the token identifies the Filesystem. To select a Filesystem per command instead, add `--file-system-id "<file-system-id>"` to each command. Use an owner FS token for `fork-layer`. For other commands, an owner FS token has the required access; a scoped token must include every operation required by the command. Some commands require multiple operations, such as `read` on a remote copy source and `write` on its destination. See [Authorization](/tidb-cloud-filesystem/filesystem-authorization.md#understand-local-selection) for selection details.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4fca0261-5363-45ab-a44e-aa7909e1c88e

📥 Commits

Reviewing files that changed from the base of the PR and between 43eee5c and 4981df7.

📒 Files selected for processing (24)
  • TOC-ai.md
  • TOC-tidb-cloud-filesystem.md
  • ai/_index.md
  • ai/ti/guides/manage-filesystems-via-cli.md
  • ai/ti/guides/ti-agent-sandbox-example.md
  • ai/ti/reference/ti-filesystem.md
  • ai/ti/reference/ti-install-configure-update.md
  • ai/ti/reference/ti-troubleshooting.md
  • ai/ti/ti-overview.md
  • tidb-cloud-filesystem/_index.md
  • tidb-cloud-filesystem/configure-filesystem-ai-providers.md
  • tidb-cloud-filesystem/filesystem-authorization.md
  • tidb-cloud-filesystem/filesystem-branches-checkpoints.md
  • tidb-cloud-filesystem/filesystem-mount-linux.md
  • tidb-cloud-filesystem/filesystem-mount-macos.md
  • tidb-cloud-filesystem/filesystem-mount.md
  • tidb-cloud-filesystem/filesystem-quick-start.md
  • tidb-cloud-filesystem/filesystem-sharing.md
  • tidb-cloud-filesystem/manage-filesystem-layers.md
  • tidb-cloud-filesystem/manage-filesystem-resources.md
  • tidb-cloud-filesystem/manage-filesystem-tokens.md
  • tidb-cloud-filesystem/manage-git-workspaces.md
  • tidb-cloud-filesystem/use-filesystem-for-automation-and-ai-agents.md
  • tidb-cloud-filesystem/work-with-filesystem-data.md

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.

- Select the mounted Filesystem by passing `--file-system-id`, setting `TI_FS_FILE_SYSTEM_ID`, or supplying an FS token that identifies it. Provide an FS token with Git workspace permissions.
- [Install TiDB Cloud CLI](/tidb-cloud-filesystem/filesystem-quick-start.md#step-1-install-the-cli).
- [Mount a TiDB Cloud Filesystem](/tidb-cloud-filesystem/filesystem-mount.md) through FUSE.
- For the commands below, set `TI_FS_FILE_SYSTEM_ID` to the mounted Filesystem ID and use its locally stored FS token. Alternatively, set `TI_FS_TOKEN` and `TI_REGION_CODE` for token-only access; the token identifies the Filesystem. To select a Filesystem per command instead, add `--file-system-id "<file-system-id>"` to each command. Use a token with Git workspace permissions. See [Authorization](/tidb-cloud-filesystem/filesystem-authorization.md#understand-local-selection) for selection details.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

set -eu
printf '%s\n' '--- candidate files ---'
fd -i 'filesystem-authorization|manage-git-workspaces' .
printf '%s\n' '--- references to ti fs-git and Git workspace permissions ---'
rg -n -C 3 'ti fs-git|Git workspace permissions|file-system-id|TI_FS_TOKEN|TI_REGION_CODE|operation.*read|operation.*list|operation.*search|operation.*write|operation.*delete' --glob '*.md' --glob '*.mdx' --glob '*.go' --glob '*.ts' --glob '*.js' --glob '*.yaml' --glob '*.yml' .

Repository: pingcap/docs

Length of output: 50371


🤖 get_repo_knowledge executed:

get_repo_knowledge pingcap/docs /tmp/coderabbit-repo-knowledge/pingcap-docs-9c73f70c/conventions /tmp/coderabbit-repo-knowledge/pingcap-docs-9c73f70c/learnings

Length of output: 4452


🏁 Script executed:

set -eu
printf '%s\n' '--- manage-git-workspaces.md ---'
sed -n '1,35p' tidb-cloud-filesystem/manage-git-workspaces.md
printf '%s\n' '--- filesystem-authorization.md ---'
sed -n '1,260p' tidb-cloud-filesystem/filesystem-authorization.md
printf '%s\n' '--- bound ti fs-git reference ---'
sed -n '1,120p' ai/ti/reference/ti-fs-git-clone-git-workspace.md
printf '%s\n' '--- scoped terms in relevant docs ---'
rg -n -i -C 3 'read|list|search|write|delete|permission|scope|token' tidb-cloud-filesystem ai/ti/reference/ti-fs-git*.md

Repository: pingcap/docs

Length of output: 50371


🏁 Script executed:

set -eu
printf '%s\n' '--- remaining manage-git-workspaces.md ---'
sed -n '35,220p' tidb-cloud-filesystem/manage-git-workspaces.md
printf '%s\n' '--- Git workspace command reference and scope-related matches ---'
sed -n '1,240p' ai/ti/reference/ti-filesystem-git.md
rg -n -i -C 4 'scoped|scope|permission|requires|read|list|search|write|delete|token' \
  ai/ti/reference/ti-fs-git-*.md \
  ai/ti/reference/ti-filesystem-git.md \
  ai/ti/guides \
  tidb-cloud-filesystem \
  --glob '*.md' | grep -i -E 'git|workspace|scope|permission|requires|read|list|search|write|delete|token' | head -n 400

Repository: pingcap/docs

Length of output: 50370


🏁 Script executed:

set -eu
printf '%s\n' '--- tracked implementation candidates ---'
git ls-files | rg -i '(^|/)(ti|cli|filesystem|fs-git|authorization|permissions?)(/|[-_.])|fs-git|filesystem' | rg -v '(^|/)(docs?|tidb-cloud-filesystem|ai/ti/|resources/)' | head -n 300
printf '%s\n' '--- exact Git workspace permission references outside the already inspected docs ---'
rg -n -i -C 3 'Git workspace permissions|fs-git.*(read|list|search|write|delete)|((read|list|search|write|delete).*)fs-git|scoped token.*Git|Git.*scoped token' . \
  --glob '!tidb-cloud-filesystem/filesystem-authorization.md' \
  --glob '!tidb-cloud-filesystem/manage-git-workspaces.md' \
  --glob '!ai/ti/reference/ti-fs-git-*.md' \
  --glob '!ai/ti/reference/ti-filesystem-git.md' \
  --glob '!**/node_modules/**' | head -n 300

Repository: pingcap/docs

Length of output: 2705


🏁 Script executed:

set -eu
printf '%s\n' '--- scoped-token reference ---'
sed -n '1,90p' ai/ti/reference/ti-fs-generate-file-system-scoped-token.md
printf '%s\n' '--- Git workspace guide prerequisites ---'
sed -n '1,55p' ai/ti/guides/ti-git-workspace-for-agents-example.md

Repository: pingcap/docs

Length of output: 7077


Require an owner FS token for Git workspace commands.

Scoped tokens support read, list, search, write, and delete, but the CLI reference states that Git workspace APIs are not available to scoped tokens. Document the required owner-token credential instead.

Suggested change
- For the commands below, set `TI_FS_FILE_SYSTEM_ID` to the mounted Filesystem ID and use its locally stored FS token. Alternatively, set `TI_FS_TOKEN` and `TI_REGION_CODE` for token-only access; the token identifies the Filesystem. To select a Filesystem per command instead, add `--file-system-id "<file-system-id>"` to each command. Use a token with Git workspace permissions. See [Authorization](/tidb-cloud-filesystem/filesystem-authorization.md#understand-local-selection) for selection details.
- For the commands below, set `TI_FS_FILE_SYSTEM_ID` to the mounted Filesystem ID and use its locally stored FS token. Alternatively, set `TI_FS_TOKEN` and `TI_REGION_CODE` for token-only access; the token identifies the Filesystem. To select a Filesystem per command instead, add `--file-system-id "<file-system-id>"` to each command. Use an owner FS token for these commands. See [Authorization](/tidb-cloud-filesystem/filesystem-authorization.md#owner-fs-tokens) for credential details.

Source: Path instructions

@qiancai
qiancai force-pushed the docs/filesystem-product branch from c8f747f to ccdb675 Compare September 17, 2026 09:00
github-actions Bot pushed a commit to qiancai/pingcap-docsite-preview that referenced this pull request Sep 17, 2026
github-actions Bot pushed a commit to qiancai/pingcap-docsite-preview that referenced this pull request Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing-translation-status This PR does not have translation status info. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants