Azure / Azure/azure-cli

Is the inclusion of the `AZURE_HTTP_USER_AGENT` env var in requests a supported feature?

Open
#21,808 4 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Auto-Assign Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I have a separate command line tool that launches the Azure CLI and wanted to include my user agent string in calls made from the Azure CLI. I found the `AZURE_HTTP_USER_AGENT` variable which seems to fit the bill, but I only found it by browsing through the source code ([link](https://github.com/Azure/msrest-for-python/blob/4cc8bc84e96036f03b34716466230fb257e27b36/msrest/pipeline/universal.py#L70))

I found a document for what I believe is the predecessor to the Azure CLI (https://github.com/Azure/azure-xplat-cli/wiki/Environment-Variables) but I just wanted to confirm that this was still considered an official feature of the current CLI.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.