Code Monkey home page Code Monkey logo

azure-manager's Introduction

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

azure-manager's People

Contributors

1injex avatar cyberjet-project avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

azure-manager's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.