Skip to content

1injex/azure-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Version

https://hub.docker.com/r/1injex/azure-manager

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

About

Manage your azure VM easily!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published