Skip to content
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

Does this library use the GOOGLE_APPLICATION_CREDENTIALS env var? #500

Open
davidxia opened this issue Sep 29, 2022 · 0 comments
Open

Does this library use the GOOGLE_APPLICATION_CREDENTIALS env var? #500

davidxia opened this issue Sep 29, 2022 · 0 comments

Comments

@davidxia
Copy link

Does this library use the GOOGLE_APPLICATION_CREDENTIALS env var? I set that value to the path of my application_default_credentials.json and have GCSFileSystem(project=MY_PROJECT), but I get the error gcsfs.retry.HttpError: Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object., 401.

GCSFileSystem(project=MY_PROJECT, token=os.getenv("GOOGLE_APPLICATION_CREDENTIALS")) works which makes me suspect this library doesn't respect GOOGLE_APPLICATION_CREDENTIALS.

I'm using the latest gcsfs 2022.8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant