freebsd-ports/sysutils/py-azure-cli/pkg-message

42 lines
1.3 KiB
Plaintext

[
{
message: <<EOM
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.
EOM
type: install
}
{
type: upgrade
maximum_version: "2.31.0"
message: <<EOM
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
EOM
}
]