Skip to content

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

@richardpark-msft

Description

@richardpark-msft

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)

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions