Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource
Managed identity sources supported. The library will handle these internally.
AppService = 2
The source to acquire token for managed identity is App Service.
AzureArc = 3
The source to acquire token for managed identity is Azure Arc.
CloudShell = 4
The source to acquire token for managed identity is Cloud Shell.
DefaultToImds = 6
Indicates that the source is defaulted to IMDS since no environment variables are set.
This is used to detect the managed identity source.
Imds = 1
The source to acquire token for managed identity is IMDS.
ImdsV2 = 8
The source to acquire token for managed identity is IMDSV2.
MachineLearning = 7
The source to acquire token for managed identity is Machine Learning Service.
None = 0
Default.
ServiceFabric = 5
The source to acquire token for managed identity is Service Fabric.