Skip to content
Docs Try Aspire
Docs Try

withHttpsDeveloperCertificate

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

Applies to

This method applies to the following types: