GoogleCloudPlatform / GoogleCloudPlatform/gsutil
gsutil does not work with AWS accelerated buckets
Open
- 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
Assessment
This issue has not been assessed yet.