HttpsCertificateAnnotation Class

Definition

An annotation that associates an HTTPS/TLS server certificate with a resource.

public sealed class HttpsCertificateAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type HttpsCertificateAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class HttpsCertificateAnnotation
Implements IResourceAnnotation
Inheritance
HttpsCertificateAnnotation
Implements

Constructors

Name Description
HttpsCertificateAnnotation()

Properties

Name Description
Certificate

Sets an X509Certificate2 instance associated with this annotation. If a certificate is provided, it must have a private key; otherwise, an ArgumentException is thrown when setting the value.

Password

Gets or sets a parameter resource that contains the password for the private key of the certificate.

UseDeveloperCertificate

Gets or sets a value indicating whether the resource should use a platform developer certificate for its key pair.

Applies to