IResourceWithEnvironment.withHttpsCertificateConfiguration

Method
📦 Aspire.Hosting v17.0.0
interface IResourceWithEnvironment {
// ... omitted for brevity
withHttpsCertificateConfiguration(callback: (arg: HttpsCertificateConfigurationCallbackAnnotationContext) => Promise<void>): IResourceWithEnvironment;
}

Signature

methodwithHttpsCertificateConfigurationbuilder
Adds a callback that allows configuring the resource to use a specific HTTPS/TLS certificate key pair for server authentication.
withHttpsCertificateConfiguration(callback: (arg: HttpsCertificateConfigurationCallbackAnnotationContext) => Promise<void>): IResourceWithEnvironment
callback(arg: HttpsCertificateConfigurationCallbackAnnotationContext) => Promise<void>The callback to configure the resource to use a certificate key pair.
IResourceWithEnvironment

Defined on

This method is defined on the following type: