Skip to content
DocsTry Aspire
DocsTry

withHttpsDeveloperCertificate

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironment;
}

Signature

methodwithHttpsDeveloperCertificatebuilder
Indicates that a resource should use the developer certificate key pair for HTTPS endpoints at run time. Currently this indicates use of the ASP.NET Core developer certificate. The developer certificate will only be used when running in local development scenarios; in publish mode resources will use their default certificate configuration.
withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironment
passwordParameterResourceoptional
IResourceWithEnvironment

Applies to

This method applies to the following types: