mr-brobot commented on issue #3213: URL: https://github.com/apache/arrow-rs/issues/3213#issuecomment-1540553959
Using AWS SigV4 for authentication, I think we need the region to calculate both the [string to sign](https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#create-string-to-sign) and the [signature](https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#calculate-signature). The good news is that, even with a 403 Forbidden, the HeadBucket API returns the bucket region in the response headers. This means we can infer the region using an anonymous HeadBucket request (as long as the bucket exists), simply ignoring 403 errors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
