Skip to content
Docs Try Aspire
Docs Try

IResourceWithEnvironment.withHttpsDeveloperCertificate

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

Signature

method withHttpsDeveloperCertificate builder
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
password ParameterResource optional
IResourceWithEnvironment

Defined on

This method is defined on the following type: