# HttpsCertificateConfigurationCallbackAnnotation Properties

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

An annotation that indicates a resource wants to manage how it needs to be configured to use a specific TLS certificate pair.

## Callback

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

Gets the callback to invoke to configure the resource to use a specific TLS certificate key pair for HTTPS endpoints.

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