Share via


ManagedIdentitySource Enum

Definition

Managed identity sources supported. The library will handle these internally.

public enum ManagedIdentitySource
type ManagedIdentitySource = 
Public Enum ManagedIdentitySource
Inheritance
ManagedIdentitySource

Fields

Name Value Description
None 0

Default.

Imds 1

The source to acquire token for managed identity is IMDS.

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.

ServiceFabric 5

The source to acquire token for managed identity is Service Fabric.

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.

Applies to