BSD Ports

sysutils/py-azure-cli 2.55.0_3 DragonFly

Microsoft Azure Command-Line Tools

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, sysutils
Package size
8471.8 KiB, 284726.3 KiB installed

Description

The Azure CLI is a command-line tool providing a great experience for managing Azure resources. The CLI is designed to make scripting easy, query data, support long-running operations, and more. Try it today and find out what the CLI has to offer!

See also: https://pypi.org/project/azure-cli/

In the other systems

SystemPortVersion
DragonFlysysutils/py-azure-cli2.55.0_3
FreeBSDsysutils/py-azure-cli2.90.0

Install

Binary package:

pkg install py311-azure-cli

From DPorts:

cd /usr/dports/sysutils/py-azure-cli && make install clean

Dependencies

Run dependencies 102

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Welcome to the Azure CLI! The CLI is a tool designed to get you working quickly
and efficiently with Azure services, with an emphasis on automation.

The following article introduces features of the CLI and links out to resources
that help you be productive.
https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli

Tutorial to create virtual machines with the Azure CLI
https://docs.microsoft.com/en-us/cli/azure/azure-cli-vm-tutorial
In this tutorial, you learn all of the steps involved in setting up a virtual
machine with the Azure CLI. The tutorial also covers output queries, Azure
resource reuse, and resource cleanup.

Through terminal there is a simple way to sign in using device code:

  $ az login --use-device-code

Then open a browser page at https://aka.ms/devicelogin and enter the
authorization code displayed in your terminal.

When upgrading to Azure CLI v2.31.0, you will need to re-authenticate on Azure
services.

  $ az login --use-device-code

Starting in version 2.30.0, Azure CLI uses MSAL as the underlying
authentication library. MSAL uses AAD v2.0 authentication flow to provide more
functionality and increases security for token cache.
More info: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli