Conversation
|
@waprin How new is the ADC command? Are our users likely to be using older |
|
It came out in late March. I would say most users should be updating their gcloud frequently enough that they should have it. Our official auth docs recommend it instead of gcloud auth login. It is still in beta and it's a confusing change so I don't blame you if you want to hold off. However I asked the PM responsible for auth on the platform and he told me I should recommend the change (with apologies for the confusion). And again, sooner or later this change will be necessary since gcloud auth login will stop writing the credentials. |
|
Maybe the last graph should add a sentence pointing to the docs for updating the
|
|
The CLI can update itself so I just added the command to do that. |
|
@waprin Thanks for the patch! |
gcloud has a new command for creating ADC. The idea is that
gcloud auth loginis for authenticating the CLI andgcloud beta auth application-default logincreates credentials for client code. After a transition period,gcloud auth loginwill no longer write credentials to a well-known file and so will not work.