Skip to content
Docs Try Aspire
Docs Try

ContainerResource.withContainerCertificatePaths

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withContainerCertificatePaths(
customCertificatesDestination?: string,
defaultCertificateBundlePaths?: string[],
defaultCertificateDirectoryPaths?: string[]): ContainerResource;
}

Signature

method withContainerCertificatePaths builder
Adds container certificate path overrides used for certificate trust at run time.
withContainerCertificatePaths(
customCertificatesDestination?: string,
defaultCertificateBundlePaths?: string[],
defaultCertificateDirectoryPaths?: string[]): ContainerResource
customCertificatesDestination string optional
defaultCertificateBundlePaths string[] optional
defaultCertificateDirectoryPaths string[] optional
ContainerResource

Defined on

This method is defined on the following type: