tustvold opened a new issue, #5233:
URL: https://github.com/apache/arrow-rs/issues/5233

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   https://github.com/apache/arrow-rs/pull/4876 added support for generating S3 
URLs, via the 
[Signer](https://docs.rs/object_store/latest/object_store/signer/trait.Signer.html)
 trait. This ticket tracks implementing Signed for 
[GoogleCloudStorage](https://docs.rs/object_store/latest/object_store/gcp/struct.GoogleCloudStorage.html)
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   The process for generating signed URLs is described 
[here](https://cloud.google.com/storage/docs/access-control/signed-urls).
   
   Once the stringToSign has been constructed there are [two 
mechanisms](https://cloud.google.com/storage/docs/access-control/signing-urls-manually)
 for generating the signature:
   
   * Directly sign the URL using the RSA key pair of a service account
   * Make an authorized API call to the 
[signBlob](https://cloud.google.com/storage/docs/authentication/creating-signatures)
 API
   
   The latter approach will support all 
[GcpCredentialProvider](https://docs.rs/object_store/latest/object_store/gcp/type.GcpCredentialProvider.html)
 and is therefore probably the approach to start with. The former is a touch 
more fiddly, and will likely involve some rejigging of 
GoogleCloudStorageBuilder::build to expose this ServiceAccountKey in such a way 
that it can be used by the Signer implementation. It would be perfectly 
acceptable for the first version to only support the signBlob approach.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   Split out of https://github.com/apache/arrow-rs/issues/3027
   


-- 
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]

Reply via email to