CertificateTrustScope
Enum net10.0
Defines the scope of custom certificate authorities for a resource. The default scope for most resources is
CertificateTrustScope.Append, but some resources may choose to override this default behavior. namespace Aspire.Hosting.ApplicationModel;
public sealed enum CertificateTrustScopeEnum Members
Section titled Enum MembersNoneDisable all custom certificate authority configuration for a resource. This indicates that the resource should use its default certificate authority trust behavior without modification.
AppendAppend the specified certificate authorities to the default set of trusted CAs for a resource. Not all resources support this mode, in which case custom certificate authorities may not be applied. In that case, consider using Override or System instead. This is the default mode unless otherwise specified.
OverrideReplace the default set of trusted CAs for a resource with the specified certificate authorities. This mode indicates that only the provided custom certificate authorities should be considered trusted by the resource.
SystemAttempt to configure the resource to trust the default system certificate authorities in addition to any configured custom certificate trust. This mode is useful for resources that don't otherwise allow appending to their default trusted certificate authorities but do allow overriding the set of trusted certificates (e.g. Python, Rust, etc.).