-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
In newer versions of gcloud SDK the credentials are no longer stored in a flat file, but in a sqlite database. However, (New)SDKConfig
is completely unaware of this change and breaks on newer versions of the gcloud SDK even though you've managed to correctly gcloud auth login
and the account is properly shown as active.
The current approach appears to be to downgrade to 179.0.0, execute gcloud config set auth/use_sqlite_store false
and then do a gcloud auth login
again. Now upgrading past that version appears to work and maintain the setting.
Though this makes it work currently this is not a viable long-term solution and not something I can implement as part of a CLI tool (or continuously direct people to do). SDKConfig should be able to handle the new sqlite based storage format that gcloud SDK has started to use.