Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcloud stores application user credentials in an SQLLite database #27

Closed
thrykol opened this issue Jul 30, 2021 · 4 comments
Closed

gcloud stores application user credentials in an SQLLite database #27

thrykol opened this issue Jul 30, 2021 · 4 comments

Comments

@thrykol
Copy link
Contributor

thrykol commented Jul 30, 2021

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?

@djc
Copy link
Owner

djc commented Aug 2, 2021

How would it affect the current support? Would you replace it, or add it as an alternative option?

@thrykol
Copy link
Contributor Author

thrykol commented Aug 2, 2021

I'd give priority to using gcloud but keep the current option as the last ditch attempt.

@djc
Copy link
Owner

djc commented Aug 2, 2021

Sounds sane to me. 👍

@hrvolapeter
Copy link
Collaborator

Sounds like great idea, I haven't noticed they changed ADCs in the newer versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants