PROJECT="..."
ACCOUNT="..."
# Add this value to your Sheet(s)
EMAIL="${ACCOUNT}@${PROJECT}.iam.gserviceaccount.com"
export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/${ACCOUNT}.json
Interesting, so this approach still works through an explicitly created service account?
Do you think it's possible to make it work without a GCP Service Account at all?
https://cloud.google.com/docs/authentication/application-def...
You can:
And then: Remaining code remains unchanged.One omission from your post is that you will need to enable the Sheets service|API either using gcloud:
Or by URL: https://console.cloud.google.com/apis/library/sheets.googlea...