# CertificateTrustConfigurationCallbackAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [CertificateTrustConfigurationCallbackAnnotation](/reference/api/csharp/aspire.hosting/certificatetrustconfigurationcallbackannotation.md)
- Kind: `Properties`
- Members: `1`

An annotation that indicates a resource wants to manage how custom certificate trust is configured.

## Callback

- Name: `Callback`
- Modifiers: `get`
- Returns: `Func<CertificateTrustConfigurationCallbackAnnotationContext, Task>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateTrustConfigurationCallbackAnnotation.cs#L18)

Gets the callback to invoke to populate or modify the certificate authority collection.

```csharp
public Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> Callback { get; }
```
