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 ID
to use in the Numerai CLI later. - In
Azure Active Directory
, navigate to App Registrations - Create a
New Registration
from theApp Registrations
blade. 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 Applications
list. From theOverview
page, save your application'sApplication (client) ID
andDirectory (tenant) ID
for setting up Numerai CLI later. - Next we will create a new client secret. Navigate to
Certificates & secrets
from the menu on the left. SelectClient secrets
and clickCreate new client secret
- Give your secret any name. Once it is created, copy the
value
of 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
Members
and 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 theSelect
button at the bottom of the screen. Finally, clickReview and assign
.