Create Service Principal
A Service Principal with the Reader role over a subscription can be created from Azure CLI:
az ad sp create-for-rbac \
--name pandora-azure-lb-discovery \
--role Reader \
--scopes /subscriptions/<SUBSCRIPTION_ID>
The output will return values similar to these:
{
"appId": "<CLIENT_ID>",
"displayName": "pandora-azure-lb-discovery",
"password": "<CLIENT_SECRET>",
"tenant": "<TENANT_ID>"
}
The correspondence with the plugin fields is:
tenant -> Azure Tenant ID
appId -> Azure Client ID
password -> Azure Client Secret
subscription -> Azure Subscription ID