EntraIdClientCredential
Classabstractnet10.0
Base class for client credential entries in an Entra ID application registration.
namespace Aspire.Hosting.Azure;
public abstract class EntraIdClientCredential{ // ...}Remarks
Section titled Remarks Each subclass corresponds to a specific Source in the Microsoft.Identity.Web Client configuration array. Use one of the concrete types:
Entra— application secret.Id Client Secret Credential Entra— FIC with managed identity.Id Federated Identity Credential Entra— certificate from Azure Key Vault.Id Key Vault Certificate Credential Entra— certificate from the certificate store.Id Store Certificate Credential Entra— certificate from a file on disk.Id File Certificate Credential Entra— signed assertion file (AKS workload identity).Id Signed Assertion File Credential
Properties1
Section titled Propertiesstring Gets the
SourceType string used in the Microsoft.Identity.Web configuration.