I cannot link Amazon S3 China

Hi,

I tried to link odrive with my Amazon S3 China but the error always show “Your access key is incorrect”.

Does odrive support Amazon S3 China? https://www.amazonaws.cn/en/s3/?nc2=h_l3_sc

Here’s my IAM Policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws-cn:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetBucketLocation"
            ],
            "Resource": [
                "arn:aws-cn:s3:::mys3bucket"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:DeleteObject"
            ],
            "Resource": [
                "arn:aws-cn:s3:::mys3bucket/*"
            ]
        }
    ]
}

Hi @marjone,
It looks like we have a compatibility issue with China. The China region has a unique API endpoint that will require new logic to account for. I have reported it to team for follow-up, but I don’t know when it will be resolved.