GoogleCloudPlatform / GoogleCloudPlatform/gsutil

gsutil does not work with AWS accelerated buckets

Open
#1,256 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

gsutil cp/rsync commands do not work with AWS accelerated buckets. For example when specifying an accelerated s3 URI such as:

s3://bucket.s3-accelerate.amazonaws.com/key
\- or -
s3://bucket.s3-accelerate.dualstack.amazonaws.com/key

gives the error:
BadRequestException: 400 AuthorizationHeaderMalformed
\
\\AuthorizationHeaderMalformed\\The authorization header is malformed; the region 'accelerate' is wrong; expecting 'us-east-1'\\us-east-1\...\

There are several variations of s3 bucket URIs, depending on specific bucket configuration, that do not have a region component.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.