Add S3 credentials region support
Description
Competition Assessment
relates to
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Bug Clerk September 11, 2019 at 2:09 PM
Vladimir Vinogradenko September 11, 2019 at 1:58 PM
@Jim Dishaw thank you!
Jim Dishaw September 11, 2019 at 1:33 AM
Without the "region = us-gov-east-1" I get an error that is different in content but essentially the same as in the bug report:
[
2019/09/10 21:29:45 ERROR : : error listing: InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
status code: 403, request id: 98FE90A8651DFA63, host id: hZGAspVviPpYtZFBM7q0Dr4L4wZufoDmu4L6ka4umzMMqIB3xU8CHZyBsXoLZybjE95Q2bsKo5M=
]
When I add the "region = us-gov-east-1" line I can see the buckets and when I specify a bucket name I can see the contents of the bucket.
Vladimir Vinogradenko September 10, 2019 at 7:14 AM
@Jim Dishaw as GovCloud access is restricted, I have to ask you to help. Please create file rclone.conf
with following contents:
[s3]
type = s3
secret_access_key = <your key>
access_key_id = <your key>
and then run
rclone --config rclone.conf lsjson s3:
Will it show same error?
Will the error go away if you add
region = us-gov-east-1
to that file?
If it works, will
rclone --config rclone.conf lsjson s3:YOUR_BUCKET_NAME
list files in your bucket?
Thank you.
Jim Dishaw September 5, 2019 at 5:24 PM
I just updated to 11.2-U5 (to see if this was fixed in the current release) and got the same error.
[EFAULT] 2019/09/05 13:17:28 ERROR : : error listing: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-gov-east-1' status code: 400, request id: 6D3545AA19DCE4AC, host id: lETV+0ssgZOn8mOMoUlB423Mm6lTuzWkyehZ7o3slhl3T2rN6M12YO4IKodgTcfHyr5Krf5jSjo=
I have attached the debug
The S3 support for Cloud Sync appears to default to us-east-1, which is not a valid region in AWS GovCloud. When I attempt to connect, I get the following error:
An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-gov-east-1'
Selecting the "no region" option does not help.