EntraIdFederatedIdentityCredential
Classsealednet10.0
A federated identity credential (FIC) with managed identity for an Entra ID application.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdFederatedIdentityCredential : Aspire.Hosting.Azure.EntraIdClientCredential{ // ...}5 members
Remarks
Section titled Remarks Maps to
SourceType = "SignedAssertionFromManagedIdentity" in Microsoft.Identity.Web configuration. The registration must trust a user-assigned managed identity in the same tenant, and the identity must be attached to the workload. This configuration does not create that trust or assign the identity. See https://learn.microsoft.com/entra/workload-id/workload-identity-federation-config-app-trust-managed-identity. Constructors1
Section titled Constructors Initializes a new instance of the
EntraIdFederatedIdentityCredential class for a managed identity that Aspire does not manage. Properties4
Section titled Propertiesstring? Gets the client ID of the user-assigned managed identity that supplies the signed assertion.
TokenExchangeUrl get; setstring? Gets or sets the token exchange URL for federated identity credential scenarios.