-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load default credentials from right path on Windows (#112)
Load default credentials from right path on Windows On Windows, the default credentials file is located in the `%APPDATA%\gcloud\application_default_credentials.json`. The existing implementation was looking for credentials in `$HOME/.config/gcloud/application_default_credentials.json`, which only works on MacOS and Linux. This change creates a `get_user_credentials_path()` function that has different implementations for Linux/MacOS and Windows platforms.
- Loading branch information
Showing
1 changed file
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters