# ContainerFileSystemCallbackHttpsCertificateContext Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerFileSystemCallbackHttpsCertificateContext](/reference/api/csharp/aspire.hosting/containerfilesystemcallbackhttpscertificatecontext.md)
- Kind: `Properties`
- Members: `4`

Represents the context for server authentication certificate files in a [ContainerFileSystemCallbackContext](/reference/api/csharp/aspire.hosting/containerfilesystemcallbackcontext.md).

## CertificatePath

- Name: `CertificatePath`
- Modifiers: `get; init`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

A reference expression that resolves to the path to the server authentication certificate file inside the container. Use GetValueAsync to resolve the path.

```csharp
public ReferenceExpression CertificatePath { get; init; }
```

## KeyPath

- Name: `KeyPath`
- Modifiers: `get; init`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

A reference expression that resolves to the path to the server authentication key file inside the container. Use GetValueAsync to resolve the path.

```csharp
public ReferenceExpression KeyPath { get; init; }
```

## Password

- Name: `Password`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

The password for the server authentication key inside the container or null if no password is required.

```csharp
public string? Password { get; init; }
```

## PfxPath

- Name: `PfxPath`
- Modifiers: `get; init`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

A reference expression that resolves to the path to the server authentication PFX file inside the container. Use GetValueAsync to resolve the path.

```csharp
public ReferenceExpression PfxPath { get; init; }
```
