You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this has been somewhat asked before but the related answers are quite old and some of the solutions no longer apply (i.e Google Drive API is no longer required)
How would this work with local Application Default Credentials(ADC) during development? ( i.e using gcloud auth application-default login).
On the package side, gspread could assume the user uses ADC authentication( and that account has proper permissions) if a credentials.json isn't passed. This would cover most cases as Google recommends ADC authentication. This is similar to what GCSFS does. You can look at their docs GCSFS docs here and in the credentials section is where they explained their logic.
I know this has been somewhat asked before but the related answers are quite old and some of the solutions no longer apply (i.e Google Drive API is no longer required)
How would this work with local Application Default Credentials(ADC) during development? ( i.e using gcloud auth application-default login).
I get "google.oauth2.credentials.Credentials" for the type
In deployment, I use a service account.
As a note: with GCSFS when using cloud storage this just works, trying to see what I'm doing wrong here.
Also, I have already tried using the service
gc = gspread.service_account(filename="./*.json")
and everything works
The text was updated successfully, but these errors were encountered: