Azure
Â
Â
Get service principal details
Â
We need service principal details to provision the resources to azure. We can use following script to generate
Â
az account set --subscription="subscription_id"
Â
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/subscription_id"
Â
we will get output in following format
Â
{
"appId": "XXXXXXXXXXXXX",
"displayName": "azure-cli-2021-10-01-15-08-58",
"name": "XXXXXXXXXXXXX",
"password": "XXXXXXXXXXXXX",
"tenant": "XXXXXXXXXXXXX"
}