Azure HOWTO
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum?view=azure-cli-latest
Create repository
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum?view=azure-cli-latest
Create repository
[centos@dbag-centos-xx630 ~]$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc^C
[centos@centos ~]$ sudo more /etc/yum.repos.d/azure-cli.repo
[azure-cli]
name=Azure CLI
baseurl=https://packages.microsoft.com/yumrepos/azure-cli
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
sudo yum install azure-cli
$ az --version
azure-cli 2.0.73
command-modules-nspkg 2.0.3
core 2.0.73
nspkg 3.0.4
telemetry 1.0.3
Python location '/usr/bin/python'
Extensions directory '/home/centos/.azure/cliextensions'
Python (Linux) 2.7.5 (default, Aug 7 2019, 00:51:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
az login
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code 12345678 to authenticate.