# CertificateTrustExecutionConfigurationContext

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Context for configuring certificate trust configuration properties.

## Definition

```go
type CertificateTrustExecutionConfigurationContext struct {
    CertificateBundlePath      *ReferenceExpression `json:"CertificateBundlePath"`
    CertificateDirectoriesPath *ReferenceExpression `json:"CertificateDirectoriesPath"`
    RootCertificatesPath       string               `json:"RootCertificatesPath"`
    IsContainer                *bool                `json:"IsContainer"`
}
```

## Fields

- `CertificateBundlePath`: `*ReferenceExpression` -- The path to the PEM certificate bundle file in the resource context (e.g., container filesystem).
- `CertificateDirectoriesPath`: `*ReferenceExpression` -- The path(s) to the certificate directories in the resource context (e.g., container filesystem).
- `RootCertificatesPath`: `string` -- The root path certificates will be written to in the resource context (e.g., container filesystem).
- `IsContainer`: `*bool` `optional` -- Is this request being generated for a container resource (i.e. does it require Linux style paths?).
