# CertificateTrustExecutionConfigurationContext Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [CertificateTrustExecutionConfigurationContext](/reference/api/csharp/aspire.hosting/certificatetrustexecutionconfigurationcontext.md)
- Kind: `Properties`
- Members: `4`

Context for configuring certificate trust configuration properties.

## CertificateBundlePath

- Name: `CertificateBundlePath`
- Modifiers: `get; init`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustExecutionConfigurationGatherer.cs)

The path to the PEM certificate bundle file in the resource context (e.g., container filesystem).

```csharp
public ReferenceExpression CertificateBundlePath { get; init; }
```

## CertificateDirectoriesPath

- Name: `CertificateDirectoriesPath`
- Modifiers: `get; init`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustExecutionConfigurationGatherer.cs)

The path(s) to the certificate directories in the resource context (e.g., container filesystem).

```csharp
public ReferenceExpression CertificateDirectoriesPath { get; init; }
```

## IsContainer

- Name: `IsContainer`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustExecutionConfigurationGatherer.cs)

Is this request being generated for a container resource (i.e. does it require Linux style paths?).

```csharp
public bool IsContainer { get; init; }
```

## RootCertificatesPath

- Name: `RootCertificatesPath`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustExecutionConfigurationGatherer.cs)

The root path certificates will be written to in the resource context (e.g., container filesystem).

```csharp
public string RootCertificatesPath { get; init; }
```
