Enum ManagedIdentitySource
- Namespace
- Microsoft.Identity.Client.ManagedIdentity
- Assembly
- Microsoft.Identity.Client.dll
Managed identity sources supported. The library will handle these internally.
public enum ManagedIdentitySource
Fields
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.
None = 0
Default.
ServiceFabric = 5
The source to acquire token for managed identity is Service Fabric.