I want to fuse a local directory with a google cloud bucket with the following command:
gcsfuse gs://stereo-train ~/Documents/stereo-train
However, I'm getting the following error:
Opening GCS connection...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: getConn: DefaultTokenSource: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
I already have the GOOGLE_APPLICATION_CREDENTIALS set and have already logged on using gcloud auth login.
What's the cause of this error and how can I fix it?
echo $GOOGLE_APPLICATION_CREDENTIALS
? Paste the result in your question. Can you perform ` gcloud auth application-default print-access-token` and say if the command works? – guillaume blaquiere