Create an Azure Infrastructure Provider in the DKP UI
Before you provision Azure clusters using the DKP UI, you must first create an Azure infrastructure provider to contain your Azure credentials:
Log in to the Azure command line:
CODEaz loginCreate an Azure Service Principal (SP) by running the following command:
CODEaz ad sp create-for-rbac --role contributor --name "$(whoami)-konvoy" --scopes=/subscriptions/$(az account show --query id -o tsv)Select Infrastructure Providers from the Dashboard menu.
Select Add Infrastructure Provider.
Workspaces If you are already in a workspace, the provider is automatically created in that workspace.
Select Microsoft Azure.
Add a Name for your Infrastructure Provider.
Copy and paste the following values into the indicated fields:
- Copy theidoutput from the login command above and paste it into the Subscription ID field.
- Copy thetenantused in Step 2 and paste it into the Tenant ID field.
- Copy theappIdused in Step 2 and paste it into the Client ID field.
- Copy thepasswordused in Step 2 and paste it into the Client Secret field.Select Save.