Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

CertificateTrustExecutionConfigurationData Properties

ClassProperties3 members
Metadata about the resource certificate trust configuration.
CertificatesSection titled CertificatesX509Certificate2Collection
The collection of certificates to trust.
public X509Certificate2Collection Certificates { get; }
CustomBundlesFactoriesSection titled CustomBundlesFactoriesDictionary<string, Func<X509Certificate2Collection, CancellationToken, Task<byte[]>>>
Collection of custom certificate bundle generators added via the CertificateTrustConfigurationCallbackAnnotationContext.CreateCustomBundle method, keyed by the bundle's relative path under the root certificates path. The value is a function that generates the bundle contents as a byte array given a collection of X509 certificates and a cancellation token.
public Dictionary<string, Func<X509Certificate2Collection, CancellationToken, Task<byte[]>>> CustomBundlesFactories { get; }
The certificate trust scope for the resource.
public CertificateTrustScope Scope { get; }