I read documentation here and tried to use Terminal
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/json/file.json
But when I open new terminal and type: echo $GOOGLE_APPLICATION_CREDENTIALS
it doesn't display the path that I set. The program always says: The Application Default Credentials are not available.
Do you have any idea why export command doesn't work ?
I solved using the terminal command
gcloud auth application-default login
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With