getporter / az-mixin

An Azure CLI mixin for Porter
https://getporter.org/mixins/az/
Apache License 2.0
0 stars 11 forks source link

Set user agent header #38

Closed carolynvs closed 2 years ago

carolynvs commented 2 years ago

It would really help us improve the az mixin if we can correlate logs in azure back to porter usage, i.e. we know that porter helped a user create a resource with the az cli. If we set the AZURE_HTTP_USER_AGENT environment variable in the az mixin then the az cli will use that for its user agent string.