az
The Azure CLI, from Microsoft's official apt repository.
Installs the Azure CLI (az).
devtools:
- name: azThe version field is not used by this recipe.
Debian and Ubuntu only
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: trueNotes
- Logging in to
azis something you do inside the workstation; Ringleader does not inject cloud credentials into a workstation.