# HttpsCertificateConfigurationCallbackAnnotationContext

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

Context provided to a `HttpsCertificateConfigurationCallbackAnnotation` callback.

## Definition

```go
type HttpsCertificateConfigurationCallbackAnnotationContext interface{}
```

## Properties

- `Arguments`: [`CommandLineArgsEditor`](/reference/api/go/aspire.hosting/commandlineargseditor.md) `get` -- Gets the editor used to manipulate the command-line arguments in polyglot callbacks.
- `CancellationToken`: `*CancellationToken` `get` -- Gets the `CancellationToken` that can be used to cancel the operation.
- `CertificatePath`: `*ReferenceExpression` `get` -- A value provider that will resolve to a path to the certificate file.
- `CertificateWithKeyPath`: `*ReferenceExpression` `get` -- A value provider that will resolve to a path to the certificate and key concatenated together in PEM format.
- `Environment`: [`EnvironmentEditor`](/reference/api/go/aspire.hosting/environmenteditor.md) `get` -- Gets the editor used to set environment variables in polyglot callbacks.
- `ExecutionContext`: [`DistributedApplicationExecutionContext`](/reference/api/go/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the `DistributedApplicationExecutionContext` for this session.
- `KeyPath`: `*ReferenceExpression` `get` -- A value provider that will resolve to a path to the private key for the certificate.
- `PfxPath`: `*ReferenceExpression` `get` -- A value provider that will resolve to a path to a PFX file for the key pair.
- `Resource`: [`Resource`](/reference/api/go/aspire.hosting/resource.md) `get` -- Gets the resource to which the annotation is applied.
