# RavenDBSecuredServerSettings Properties

- Package: [CommunityToolkit.Aspire.Hosting.RavenDB](/reference/api/csharp/communitytoolkit.aspire.hosting.ravendb.md)
- Type: [RavenDBSecuredServerSettings](/reference/api/csharp/communitytoolkit.aspire.hosting.ravendb/ravendbsecuredserversettings.md)
- Kind: `Properties`
- Members: `4`

Represents secured settings for a RavenDB server, including certificate information and a public server URL.

## CertificatePassword

- Name: `CertificatePassword`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs#L119)

The password for the certificate file, if required.

```csharp
public string? CertificatePassword { get; }
```

## CertificatePath

- Name: `CertificatePath`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs#L114)

The path to the certificate file.

```csharp
public string CertificatePath { get; }
```

## ClientCertificate

- Name: `ClientCertificate`
- Modifiers: `nullable` `get; init`
- Returns: `X509Certificate2?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs)

Optional client certificate that will be used by client components (for example health checks or ensure-database logic) when connecting to this secured RavenDB server.

```csharp
public X509Certificate2? ClientCertificate { get; init; }
```

## PublicServerUrl

- Name: `PublicServerUrl`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs#L124)

The public server URL (domain) that the secured RavenDB server will expose.

```csharp
public string PublicServerUrl { get; }
```
