algo/docs/AZURE.md
Josh Soref 84bbcb88d0 Spelling fixes (#342)
* spelling: algorithm

* spelling: bertrand

* spelling: between

* spelling: checking

* spelling: conjunction

* spelling: contributor

* spelling: delimited

* spelling: fashion

* spelling: droplet

* spelling: javascript

* spelling: nameserver

* spelling: obligatory

* spelling: official

* spelling: overridden

* spelling: overwrite

* spelling: parameter

* spelling: suppressing
2017-04-02 19:14:38 -04:00

2.7 KiB

Authenticating with Azure

Instruction Screenshot(s)
1. Go to https://portal.azure.com/
2. Go to Azure Active Directory step2-thumb
3. Go to App registrations and click to Add step3-thumb
4. Fill out the forms and click Create step4-thumb
5. Click on the app name step5-thumb
6. Copy and save somewhere the Application ID and click on Keys. step6-thumb
7. Fill out the forms and click Save. Copy and save somewhere the Secret ID (the value) step7-thumb
8. Go to the Main menu, Azure Active Directory and click on Properties. Copy and save somewhere the Directory ID step8-thumb
9. Go to the Main menu, Subscriptions and click on the subscription you want you use in Algo. Copy and save the subscription id from the Overview tab step9-thumb
10. Go to the Access control (IAM) tab and click to Add step10-thumb
11. Select a role (Contributor will enough for all) step11-thumb
12. Swith next to Add users and search by the App name (the name from the 4th step) and select it. step12-thumb

Now you can use Environment Variables:

  • AZURE_CLIENT_ID - from the 6th step
  • AZURE_SECRET - from the 7th step
  • AZURE_TENANT - from the 8th step
  • AZURE_SUBSCRIPTION_ID - from the 9th step

or create the credentials file ~/.azure/credentials:

[default]
client_id=
secret=
tenant=
subscription_id=

or just pass those values to the Algo script