EntraIdStoreCertificateCredential
Classsealednet10.0
A certificate credential from the certificate store for an Entra ID application.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdStoreCertificateCredential : Aspire.Hosting.Azure.EntraIdClientCredential{ // ...}5 members
Remarks
Section titled Remarks Maps to Source or "Store in Microsoft.Identity.Web configuration, depending on which identifier is provided.
Set exactly one of Entra or Entra. Setting both, or neither, causes Entra to throw an Invalid.
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesDistinguishedName get; setstring? Gets or sets the certificate distinguished name (e.g.,
"CN=MyCert" ). StorePath get; initstring Gets the certificate store path (e.g.,
"CurrentUser/My" or "LocalMachine/My" ).