ContainerResource.WithContainerCertificatePaths

Method
📦 Aspire.Hosting v17.0.0
type ContainerResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: