<PackageReference Include="Microsoft.Identity.Client" Version="4.83.0" />

Microsoft.Identity.Client.ManagedIdentity.KeyProviders.WindowsManagedIdentityKeyProvider

Windows-specific managed identity key provider that implements a hierarchical key selection strategy. Attempts to use the most secure key source available in the following priority order: 1. KeyGuard (CVM/TVM) if available - provides VBS (Virtualization-based Security) isolation 2. Hardware (TPM/KSP via Microsoft Platform Crypto Provider) - hardware-backed keys 3. In-memory fallback - software-based keys stored in memory

Gets or creates a managed identity key using the best available security mechanism.