Skip to content
Docs Try Aspire

ContainerCertificatePathsAnnotation Properties

Class Properties 3 members
An annotation that allows overriding default certificate paths for container resources.
CustomCertificatesDestination Section titled CustomCertificatesDestination nullable string?
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; }
DefaultCertificateBundles Section titled DefaultCertificateBundles nullable List<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; }
DefaultCertificateDirectories Section titled DefaultCertificateDirectories nullable List<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; }