Azure Cloud (Microsoft)
- Powershell on Linux using docker
$ docker pull mcr.microsoft.com/powershell
$ docker run -it microsoft/powershell
- Run azure
$ azure login info: Executing command login - Authenticating...info: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code HAY8K6VD6 to authenticate. info: Added subscription Free Trial + info: login command OK pieter@Azure:~$
Get details
$ az account show
Create a service account
$ az ad sp create-for-rbac --name "SALT-ADMIN" { "appId": "a0a000-0000-00000-0000-20", "displayName": "SALT-ADMIN", "name": "http://SALT-ADMIN", "password": "20000000-0000-0000-0000-000000000005", "tenant": "20000000-0000-0000-0000-000000000003" }
...