# CertificateTrustExecutionConfigurationData

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustExecutionConfigurationGatherer.cs)
- Implements: [IExecutionConfigurationData](/reference/api/csharp/aspire.hosting/iexecutionconfigurationdata.md)

Metadata about the resource certificate trust configuration.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class CertificateTrustExecutionConfigurationData
    : Aspire.Hosting.ApplicationModel.IExecutionConfigurationData
{
    // ...
}
```

## Constructors

- [CertificateTrustExecutionConfigurationData](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationdata/constructors.md#constructor)

## Properties

- [Certificates](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationdata/properties.md#certificates) : `X509Certificate2Collection` `get` -- The collection of certificates to trust.
- [CustomBundlesFactories](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationdata/properties.md#custombundlesfactories) : `Dictionary<string, Func<X509Certificate2Collection, CancellationToken, Task<byte[]>>>` `get` -- Collection of custom certificate bundle generators added via the [CertificateTrustConfigurationCallbackAnnotationContext.CreateCustomBundle(Func<X509Certificate2Collection, CancellationToken, Task<byte[]>>)](/reference/api/csharp/aspire.hosting/certificatetrustconfigurationcallbackannotationcontext/methods.md#createcustombundle-func-x509certificate2collection-cancellationtoken-task-byte) 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.
- [Scope](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationdata/properties.md#scope) : [CertificateTrustScope](/reference/api/csharp/aspire.hosting/certificatetrustscope.md) `get` -- The certificate trust scope for the resource.
