GCloud SDK not creating application_default_credentials.json file in the correct folder

Viewed 702

Using the command gcloud auth application-default login gives the following confirmation message:

Credentials saved to file: [C:\Users\<username>\AppData\Roaming\gcloud\application_default_credentials.json]

However, files are instead being created in this directory C:\Users\<username>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\Roaming\gcloud.

Manually copying the file will get my code working. Is there any reason why the files are not being created in the correct folder?

0 Answers
Related