You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcloud config config-helper returns a JSON blob with a number of things about the current configuration of the CLI, along with an properly-refreshed, active token for applications to use. This is a feature request for a similar functionality in the az CLI.
Scenario: In Kubernetes, we are trying to emulate the Google Auth plugin which uses gcloud config config-helper to get a refreshed accessToken and then uses it for authentication in it's own ways. Currently, the Azure implementation reaches into ~/.azure/ directly to read the access token. It would be much better if this was done via os.Exec'ing az config config-helper or something similar, so that the CLI can refresh the token if needed and then return it.
Can we create a command like config config-helper in az?
gcloud config config-helper
returns a JSON blob with a number of things about the current configuration of the CLI, along with an properly-refreshed, active token for applications to use. This is a feature request for a similar functionality in theaz
CLI.Scenario: In Kubernetes, we are trying to emulate the Google Auth plugin which uses
gcloud config config-helper
to get a refreshed accessToken and then uses it for authentication in it's own ways. Currently, the Azure implementation reaches into~/.azure/
directly to read the access token. It would be much better if this was done via os.Exec'ingaz config config-helper
or something similar, so that the CLI can refresh the token if needed and then return it.Can we create a command like
config config-helper
inaz
?cc: @brendandburns
The text was updated successfully, but these errors were encountered: