Sign inSign up

1injex/azure-manager

By 1injex

•Updated about 4 years ago

Image
11

2.5K

1injex/azure-manager repository overview

⁠How to use Azure-Manager

  1. Launch Docker image:
docker run -itd --name azure-manager -p 8888:8888 1injex/azure-manager
  1. Set up your Azure-Manager Admin User:
# replace username with yours
# replace password with yours
docker exec -it azure-manager flask admin username password
  1. Visit http://yourip:8888⁠ Let's Azure now!!!
  • Your VM Default SSH Credential:
    • USERNAME : defaultuser
    • PASSWORD : Thisis.yourpassword1

⁠How to get ApiKey String:

  1. Input command below into Azure cloud shell(using Bash)
sub_id=$(az account list --query [].id -o tsv) && az ad sp create-for-rbac --role contributor --scopes /subscriptions/$sub_id
  1. Format your ApiKey string

⁠Example

There will be some output like this:

# Creating 'contributor' role assignment under scope '/subscriptions/DDD'
# The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, # see https://aka.ms/azadsp-cli
{
  "appId": "AAA",
  "displayName": "azure-cli",
  "password": "BBB",
  "tenant": "CCC"
}

ApiKey string Format:

appId|password|tenant|subscriptions

So the final ApiKey is:

AAA|BBB|CCC|DDD

Tag summary

Content type

Image

Digest

sha256:cfb96485b…

Size

47.8 MB

Last updated

about 4 years ago

docker pull 1injex/azure-manager