EntraIdFederatedIdentityCredential Constructors

ClassConstructors1 member
A federated identity credential (FIC) with managed identity for an Entra ID application.
Initializes a new instance of the EntraIdFederatedIdentityCredential class for a managed identity that Aspire does not manage.
public sealed class EntraIdFederatedIdentityCredential
{
public EntraIdFederatedIdentityCredential(
string managedIdentityClientId)
{
// ...
}
}
managedIdentityClientIdstringThe client ID of the user-assigned managed identity that supplies the signed assertion.
ArgumentNullExceptionThrown when managedIdentityClientId is null.
ArgumentExceptionThrown when managedIdentityClientId is empty or is not a GUID.