yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
216 stars 81 forks source link

anonymous access when reading google cloud storage #213

Open samster25 opened 7 months ago

samster25 commented 7 months ago

Hi! We would like to leverage anonymous access when reading from a gcs bucket as specified here. In daft, we are currently are falling back on the S3 api when no credentials are provided.

An example of this in another API is the python GCSFS project which allows the user to set the token='anon'

no authentication is performed, and you can only access data which is accessible to allUsers
yoshidan commented 7 months ago

Sorry for the late reply. This PR will allow anonymous access. https://github.com/yoshidan/google-cloud-rust/pull/217

samster25 commented 7 months ago

@yoshidan This looks great! Thank you for the quick turnaround. I'll give the PR a try in our codebase and see if it works

samster25 commented 7 months ago

Looks like our GCS tests pass in anonymous mode in this PR

yoshidan commented 7 months ago

Now I merged PR.

samster25 commented 7 months ago

Great! When do you expect the new crate release to come out?

yoshidan commented 7 months ago

Now I published the new crate (version = 0.15.0).