Closed
Description
Is your feature request related to a problem? Please describe.
Currently, DefaultCertificateLoader only supports system assigned managed identities, whereas customers and partners also need it to support user assigned managed identity
Describe the solution you'd like
Have a new property named UserAssignedManagedIdentityClientId
in MicrosoftIdentityOptions
so that developers can provide the user assigned managed identity client ID.
public class MicrosoftIdentityOptions
{
// Previous properties
/// <summary>
/// Used, when deployed to Azure, to specify explicitly a user assigned managed identity.
/// See https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.
/// </summary>
string? UserAssignedManagedIdentityClientId {get;set;}
}
For customers using ASP.NET (not core), and therefore directly the DefaultCertificateLoader
, also expose it as a static public member of DefaultCertificateLoader
Additional context