Microsoft.Identity.Client.ManagedIdentity.IManagedIdentityKeyProvider
interface 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);
}
}