ManagedIdentityCapabilities Class

Definition

Describes the managed identity capabilities detected for the current host, including the detected source and the strength with which tokens can be bound to a key.

public class ManagedIdentityCapabilities
type ManagedIdentityCapabilities = class
Public Class ManagedIdentityCapabilities
Inheritance
ManagedIdentityCapabilities

Remarks

This type is returned by GetManagedIdentityCapabilitiesAsync(CancellationToken). It is useful for credential chains such as DefaultAzureCredential to decide whether managed identity is available and what binding strength the host supports.

Properties

Name Description
ErrorReason

Gets the reason detection failed, if any.

IsMtlsPopSupportedByHost

Gets a value indicating whether the host can bind a token to a key (mTLS Proof-of-Possession).

MaxSupportedBindingStrength

Gets the highest binding strength the current host is capable of producing.

Source

Gets the detected managed identity source.

Applies to