ContainerCertificatePathsAnnotation
Class sealed net10.0
An annotation that allows overriding default certificate paths for container resources.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerCertificatePathsAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesCustomCertificatesDestinationget; initstring? The destination path in the container under which custom certificates will be placed. If not set, defaults to /usr/lib/ssl/aspire.
DefaultCertificateBundlesget; initList<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. DefaultCertificateDirectoriesget; initList<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.