Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithContainerCertificatePaths

Method
📦 Aspire.Hosting v17.0.0
func (ContainerResource) WithContainerCertificatePaths(options ...*WithContainerCertificatePathsOptions) ContainerResource

Signature

methodWithContainerCertificatePathsbuilder
Adds container certificate path overrides used for certificate trust at run time.
WithContainerCertificatePaths(options ...*WithContainerCertificatePathsOptions) ContainerResource
options...*WithContainerCertificatePathsOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithContainerCertificatePathsOptions argument.

CustomCertificatesDestination*stringThe destination path in the container where custom certificates will be copied.
DefaultCertificateBundlePaths[]stringDefault certificate bundle paths in the container that will be replaced.
DefaultCertificateDirectoryPaths[]stringDefault certificate directory paths in the container that may be appended.
ContainerResource

The updated resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: