-
Notifications
You must be signed in to change notification settings - Fork 14
Anonymous auth to GCS #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Well one option is to install from this branch: #404. Once the upstream PR apache/arrow-rs-object-store#322 is merged, we can merge it into main here. To fix this issue at hand, we probably want to add a check if isinstance(self.credentials, AnonymousCredentials):
return {"bearer": ""} But I'm not sure whether that will actually work in the current behavior of |
You can install from that branch with
as long as you have Rust installed on your system. |
In particular, with #404 , you can construct the store with GCSStore("bucket", skip_signature=True) without needing to use a credential provider |
Yeeah I played around with this a little more and I don't think this will be fixed until #404 gets merged (I'll merge it as soon as the upstream object_store PR gets merged) |
Thanks for testing that out! I'll keep an eye on those two. |
I'm trying to make an anonymous request to a Google Cloud Storage bucket. I'm not too familiar with GCS, but I did find
google.auth.credentials.AnonymousCredentials
: https://googleapis.dev/python/google-auth/1.7.0/reference/google.auth.credentials.html#google.auth.credentials.AnonymousCredentials. However, the following raises an error:with
The text was updated successfully, but these errors were encountered: