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.

What it does

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 laptop’s browser:

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

Notes

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