Skip to main content
The Tencent VFS is a thin wrapper over the S3 VFS. It maps a TencentConfig to an S3Config and reuses the exact same backend, commands, and behavior as S3, it just derives the right COS endpoint from region. Uses aioboto3 against Tencent COS’s S3-compatible API. The endpoint is computed from region as cos.<region>.myqcloud.com (e.g. cos.ap-guangzhou.myqcloud.com). Pass endpoint_url to override.
Tencent COS bucket names include the APPID suffix, e.g. my-bucket-1250000000. Use the full name (with the suffix) for bucket.
Install the extra:

Config

Both READ and WRITE modes are supported. Fields marked secret are redacted in snapshots. For write: conditional on this provider, see S3-compatible stores.

VFS.md

The VFS.md an agent reads with Tencent COS mounted at /<path>.

Virtual Filesystem

Supported Unix Commands for VFS

Unix commands work on each path as on a local filesystem, as far as the path supports them:

Limitations of Unix Commands for VFS

Where a path differs from a local filesystem:Run man <cmd> or <cmd> --help for one command’s usage.

Example

Notes

  • Tencent COS registers under its own VFSName and routes through the same core/s3 implementation, so the full S3 shell-command set applies. See the S3 VFS for the complete command reference, range reads, streaming, and the index cache fast path.
  • For credential setup, see Tencent COS Setup.