Numerai CLI will create several resources in your Azure account to deploy and run your models. Follow the steps below to give the Numerai CLI access to your Azure account.
- Create an Azure Account
- Make sure you are signed in to the Azure Portal
- Create an Azure Subscription. Save your
Subscription IDto use in the Numerai CLI later. - In
Azure Active Directory, navigate to App Registrations - Create a
New Registrationfrom theApp Registrationsblade. Give your application a name and leave the other options as default. - Creating a new registration will take you to your app's details page. If it doesn't, navigate back to your App Registrations and select your application from the
All Applicationslist. From theOverviewpage, save your application'sApplication (client) IDandDirectory (tenant) IDfor setting up Numerai CLI later. - Next we will create a new client secret. Navigate to
Certificates & secretsfrom the menu on the left. SelectClient secretsand clickCreate new client secret - Give your secret any name. Once it is created, copy the
valueof your secret to your clipboard and save this value for setting up Numerai CLI later. - We need to give your app access to your subscription. Navigate back to Subscriptions and select the subscription you created earlier.
- Select
Access control (IAM)from the menu on the left, click+ Add, and from the drop down menu selectAdd role assignment. UnderRole, selectPrivileged administrator roles, and thenOwner. - Next we will assign Owner permissions to your app. Select
Membersand then click+ Select members. In the search box, type the name of the app you created earlier and hit the return key. When your app appears, select your app and then click theSelectbutton at the bottom of the screen. Finally, clickReview and assign.