Skip to content
DocsTry Aspire
DocsTry

IResourceWithEnvironment.withHttpsDeveloperCertificate

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithEnvironment {
// ... 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

Defined on

This method is defined on the following type: