gcloud stores application user credentials in an SQLLite database
thrykol opened this issue · comments
gcloud auth
appears to no longer write a user's application credentials to application_default_credentials.json
but instead to a user specific path under .config/gcloud/legacy_credentials/
. I believe the change was done when the authors moved to use SQLite to manage the tokens.
I'd like to add support for using gcloud auth print-access-token
directly but wanted to get feedback before committing to the process. Are there concerns or opinions about adding support for gcloud
?
How would it affect the current support? Would you replace it, or add it as an alternative option?
I'd give priority to using gcloud
but keep the current option as the last ditch attempt.
Sounds sane to me. 👍
Sounds like great idea, I haven't noticed they changed ADCs in the newer versions