EntraIdStoreCertificateCredential

Classsealednet10.0
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
A certificate credential from the certificate store for an Entra ID application.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdStoreCertificateCredential
: Aspire.Hosting.Azure.EntraIdClientCredential
{
// ...
}

Maps to SourceType = "StoreWithThumbprint" or "StoreWithDistinguishedName" in Microsoft.Identity.Web configuration, depending on which identifier is provided.

Set exactly one of EntraIdStoreCertificateCredential.Thumbprint or EntraIdStoreCertificateCredential.DistinguishedName. Setting both, or neither, causes EntraIdStoreCertificateCredential.SourceType to throw an InvalidOperationException.

View all constructors
View all properties