login.microsoftonline.com), and its permissions are exercised when a cluster is created.
What Ankra Accesses
Ankra calls the Azure Resource Manager API with the service principal:
Node pricing shown in Ankra comes from the public Azure Retail Prices API, which needs no credential.
Preparing an Azure Credential
1
Create a service principal
Create a service principal with the Contributor role on the target subscription, for example with the Azure CLI:Note the
appId (client ID), password (client secret), and tenant (tenant ID).Contributor on the subscription covers everything in the table above. To scope tighter, the service principal needs at least the ability to create resource groups plus Azure Kubernetes Service Contributor and Azure Kubernetes Service Cluster Admin on the resource groups Ankra will use.2
Share it with Ankra (early access)
An Azure credential consists of four values: subscription ID, tenant ID, client ID, and client secret. During early access, contact support to have the credential set up for your organisation - the self-service dialog and
ankra credentials CLI do not cover Azure yet.