google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

anonymous access when reading google cloud storage

Open samster25 opened this issue 2 years ago • 6 comments

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

samster25 avatar Nov 22 '23 04:11 samster25

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

yoshidan avatar Nov 30 '23 13:11 yoshidan

@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 avatar Nov 30 '23 19:11 samster25

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

samster25 avatar Nov 30 '23 20:11 samster25

Now I merged PR.

yoshidan avatar Dec 01 '23 13:12 yoshidan

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

samster25 avatar Dec 01 '23 21:12 samster25

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

yoshidan avatar Dec 05 '23 00:12 yoshidan