-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Description
Azure example in this documentation uses --sdk-auth flag to generate credentials. But Microsoft documentation shows that it is deprecated.
Currently, azure cloud provision uses NewEnvironmentCredential that crafts credentials from environment variables previously set from the JSON access token file. A possible alternative is to use ClientSecretCredential and initialize it from the new JSON file that is returned if --sdk-auth is not specified.
New JSON file sample:
{
"appId": "", // same as client id
"displayName": "",
"password": "", // same as client secret
"tenant": ""
}