Skip to content
DocsTry Aspire
DocsTry

ContainerCertificatePathsAnnotation Properties

ClassProperties3 members
An annotation that allows overriding default certificate paths for container resources.
CustomCertificatesDestinationSection titled CustomCertificatesDestinationnullablestring?
The destination path in the container under which custom certificates will be placed. If not set, defaults to /usr/lib/ssl/aspire.
public string? CustomCertificatesDestination { get; init; }
DefaultCertificateBundlesSection titled DefaultCertificateBundlesnullableList<string>
Paths to default certificate bundle files in the container that should be replaced when the resource's CertificateTrustScope is set to CertificateTrustScope.Override or CertificateTrustScope.System. If not set, a set of common default paths for popular Linux distributions will be used.
public List<string>? DefaultCertificateBundles { get; init; }
DefaultCertificateDirectoriesSection titled DefaultCertificateDirectoriesnullableList<string>
Paths to default directories containing individual CA certificates in the container that should be appended when the resource's CertificateTrustScope is set to CertificateTrustScope.Append. If not set, a set of common default paths for popular Linux distributions will be used.
public List<string>? DefaultCertificateDirectories { get; init; }