supaS3docs

04 / 12

Cloud Provider Guides

Exact endpoint formats, addressing modes, IAM permissions, and preset behaviors for Alibaba Cloud OSS, Tencent Cloud COS, Cloudflare R2, IDrive e2, MinIO, Amazon S3, and Huawei Cloud OBS.

Always pick the dedicated service preset in Add connection… rather than using Generic S3 when connecting to OSS, COS, R2, IDrive e2, or MinIO. Each preset configures the exact addressing style, conditional overwrite header, ACL handling, and XML checksum rules required by that service.

Cloudflare R2

  • Preset: Cloudflare R2
  • Account ID / Endpoint: Enter <account-id>.r2.cloudflarestorage.com (region defaults to auto).
  • Bucket-scoped API Tokens: R2 Object Read & Write tokens scoped to specific buckets return 403 AccessDenied on ListBuckets. Set Default bucket (and optional Default prefix) in the connection form so supaS3 opens the bucket directly without calling ListBuckets.
  • Unsupported S3 sub-resources: R2 does not implement object ACLs, S3 object tags, or S3 bucket versioning (501 NotImplemented); supaS3 gracefully treats these as unsupported during edits and syncs.

Alibaba Cloud OSS

  • Preset: Alibaba Cloud OSS
  • Endpoint: oss-<region>.aliyuncs.com or s3.oss-<region>.aliyuncs.com (for example oss-cn-hongkong.aliyuncs.com).
  • Addressing & Bucket Names: OSS requires virtual-hosted style (SecondLevelDomainForbidden on path-style). Bucket names containing underscores cannot be used as DNS hostnames and are rejected up front.
  • Atomic Overwrite Guard: Uses x-oss-forbid-overwrite: true (OSS rejects standard S3 If-None-Match with 400 NotImplemented) and automatically injects Content-MD5 on DeleteObjects and XML configuration writes.
  • Bucket-bound Custom Domains (Mainland China accounts after 2025-03-20): Alibaba Cloud blocks default public endpoints (PublicEndpointForbidden) for mainland China buckets on accounts activated after 20 March 2025, requiring a custom domain bound to the bucket. Enable the Experimental: Bucket-bound custom domain toggle, supply https://your-bound-domain.example.com plus the single bound bucket name. (Protocol and SigV4 signing verified via HTTP and reverse-proxy tests; not yet tested against a live mainland China custom domain.)

Tencent Cloud COS

  • Preset: Tencent Cloud COS
  • Endpoint & Region: Select region (e.g. ap-shanghai, ap-singapore), which resolves to cos.<region>.myqcloud.com using virtual-hosted addressing.
  • Bucket Naming (<name>-<APPID>): COS bucket names end with your numeric Tencent Cloud APPID (e.g. backups-1300000000). Enter the full bucket name including -APPID.
  • Atomic Overwrite Guard: COS silently ignores If-None-Match: * on PutObject; the COS preset enforces x-cos-forbid-overwrite: true and injects Content-MD5 on batch deletes and XML writes.
  • Public ACL Recognition: Recognizes Tencent CAM's http://cam.qcloud.com/groups/global/AllUsers grantee URI when displaying and toggling public-read object access.

IDrive e2

  • Preset: IDrive e2
  • Endpoint: s3.<region>.idrivee2.com (obtained from your IDrive e2 region dashboard).
  • SSE-KMS & ACL Behavior: Many IDrive e2 buckets apply default KMS encryption (non-MD5 ETags), reject PutObject with If-Match, and attach internal x-amz-meta-e2iid / x-amz-meta-erid headers plus ID-less FULL_CONTROL ACL grants. The IDrive e2 preset strips internal metadata before writes, treats ID-less FULL_CONTROL as default private access, uses pre-write HEAD checks for replacements, and records supas3-sha256 metadata during sync uploads so repeat sync comparisons stay fast and accurate.

MinIO & Generic S3-Compatible Storage

  • Preset: MinIO (or Generic S3-compatible for Ceph RGW, SeaweedFS, Garage, RustFS, Backblaze B2, Wasabi).
  • Addressing: Defaults to path-style (http(s)://host:port) for MinIO, with collapsible advanced controls on Generic S3 to choose Path-style vs Virtual-hosted and ListObjectsV2 vs ListObjects (V1).
  • Multipart Upload Listing Workaround: Certain MinIO releases only match ListMultipartUploads when prefix equals the full object key rather than a folder prefix; the MinIO preset omits server-side prefix and filters bounded pages client-side so orphaned uploads inside folders are always visible.

Amazon S3

  • Preset: Amazon S3 (implemented via official aws-sdk-s3, not live-tested against a production AWS bucket in this release).
  • Authentication: Supports typed Access Key + Secret Key (+ optional Session Token), Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN), and Shared AWS Config Profiles (~/.aws/config & ~/.aws/credentials, including AWS SSO / IAM Identity Center profiles logged in via aws sso login).

Huawei Cloud OBS

  • Preset: Huawei Cloud OBS (implemented from official Huawei Cloud S3-compatibility documentation; not yet tested against a live OBS bucket).
  • Endpoint: obs.<region>.myhuaweicloud.com using virtual-hosted addressing.

For a bucket-scoped credential (arn:aws:s3:::example-bucket and arn:aws:s3:::example-bucket/*), grant:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:GetBucketLocation",
        "s3:GetBucketVersioning",
        "s3:ListBucketVersions",
        "s3:ListBucketMultipartUploads"
      ],
      "Resource": "arn:aws:s3:::example-bucket"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:GetObjectVersion",
        "s3:PutObject",
        "s3:DeleteObject",
        "s3:DeleteObjectVersion",
        "s3:AbortMultipartUpload",
        "s3:ListMultipartUploadParts",
        "s3:GetObjectTagging",
        "s3:PutObjectTagging"
      ],
      "Resource": "arn:aws:s3:::example-bucket/*"
    }
  ]
}

Configure Default bucket in the connection dialog whenever s3:ListAllMyBuckets is omitted.

Last updated

On this page