Skip to content

Support Tencent Cloud COS virtual-hosted-style access (required for new buckets) #2098

@horsley

Description

@horsley

Context
Tencent Cloud Object Storage (COS) has deprecated path-style access for new buckets created 2024 onwards, enforcing virtual-hosted-style access.
Reference: Tencent Cloud Documentation

Problem
I attempted to add support for this in minio-go (see minio/minio-go#2191), but the maintainers rejected the PR. They stated they will not accept new provider configurations upstream and recommended that callers (downstream users like OpenCloud) should implement a custom lookup method to handle specific provider endpoints.

Request
Since OpenCloud uses minio-go, I am encountering issues connecting to new Tencent Cloud buckets due to the lack of virtual-host support.
Could you please provide a way to configure this custom lookup or update the MinIO integration to support Tencent Cloud COS?

I am willing to contribute a PR to OpenCloud to implement this if you can provide guidance on where this configuration should live.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions