# CertificateTrustExecutionConfigurationContext

- 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)

Context for configuring certificate trust configuration properties.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class CertificateTrustExecutionConfigurationContext
{
    // ...
}
```

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

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

## Properties

- [CertificateBundlePath](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationcontext/properties.md#certificatebundlepath) : [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md) `get; init` -- The path to the PEM certificate bundle file in the resource context (e.g., container filesystem).
- [CertificateDirectoriesPath](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationcontext/properties.md#certificatedirectoriespath) : [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md) `get; init` -- The path(s) to the certificate directories in the resource context (e.g., container filesystem).
- [IsContainer](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationcontext/properties.md#iscontainer) : `bool` `get; init` -- Is this request being generated for a container resource (i.e. does it require Linux style paths?).
- [RootCertificatesPath](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationcontext/properties.md#rootcertificatespath) : `string` `get; init` -- The root path certificates will be written to in the resource context (e.g., container filesystem).
