Skip to main content
The Tencent resource is a thin wrapper over the S3 resource. 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.

Config

Both READ and WRITE modes are supported.

Example

Notes

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