For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/tools/devtools/az/index.md.

az

The Azure CLI, from Microsoft's official apt repository.

Installs the Azure CLI (az).

devtools:
  - name: az

The version field is not used by this recipe.

Debian and Ubuntu only

On Alpine this devtool fails with an explicit message.

Updates

The Azure CLI comes from Microsoft’s package repository, so it moves with the operating system updates the workstation applies.

Purpose

Declares Microsoft’s azure-cli apt repository and its signing key, then installs the azure-cli package through the normal repository and package phases.

Microsoft’s repository lags new Debian releases. When your workstation runs a Debian release Microsoft does not publish for, Ringleader points the repository at the most recent supported one, whose package runs on the newer release. Without that, the repository would return 404 and break apt-get update for the whole workstation. Ubuntu releases are served directly.

Example

Install the CLI and relay its device-code login page to your computer’s browser:

devtools:
  - name: az
  - name: passthrough-www-browser   # relays the device-code login URL to your browser
defaultLocalBinding:
  enabled: true
  urlForward:
    enabled: true

Notes

  • Logging in to az is something you do inside the workstation; Ringleader does not inject cloud credentials into a workstation.