Skip to content

SDKConfig doesn't work past gcloud v179.0.0 #300

@daenney

Description

@daenney

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions