You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
algo/docs/cloud-azure.md

2.7 KiB

Azure cloud setup

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