mirror of
https://github.com/trailofbits/algo
synced 2024-11-04 06:00:21 +00:00
2.7 KiB
2.7 KiB
Instruction | Screenshot(s) |
---|---|
1. Go to https://portal.azure.com/ | |
2. Go to Azure Active Directory | |
3. Go to App registrations and click to Add | |
4. Fill out the forms and click Create | |
5. Click on the app name | |
6. Copy and save somewhere the Application ID and click on Keys. | |
7. Fill out the forms and click Save. Copy and save somewhere the Secret ID (the value) | |
8. Go to the Main menu, Azure Active Directory and click on Properties. Copy and save somewhere the Directory ID | |
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 | |
10. Go to the Access control (IAM) tab and click to Add | |
11. Select a role (Contibutor will enough for all) | |
12. Swith next to Add users and search by the App name (the name from the 4th step) and select it. |
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