# 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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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; }
```
