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

Microsoft.Identity.Client.ManagedIdentity.IManagedIdentityKeyProvider

Provides managed identity keys for authentication scenarios. Implementations of this interface are responsible for obtaining or creating the best available key type (CredentialGuard, Hardware, or InMemory) for managed identity authentication.
namespace Microsoft.Identity.Client.ManagedIdentity { internal interface IManagedIdentityKeyProvider { Task<ManagedIdentityKeyInfo> GetOrCreateKeyAsync(ILoggerAdapter logger, CancellationToken ct); } }