# RavenDBClientSettings Properties

- Package: [CommunityToolkit.Aspire.RavenDB.Client](/reference/api/csharp/communitytoolkit.aspire.ravendb.client.md)
- Type: [RavenDBClientSettings](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings.md)
- Kind: `Properties`
- Members: `10`

Provides the client configuration settings for connecting to a RavenDB database.

## Certificate

- Name: `Certificate`
- Modifiers: `nullable` `get; set`
- Returns: `X509Certificate2?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

The certificate for RavenDB server.

```csharp
public X509Certificate2? Certificate { get; set; }
```

## CertificatePassword

- Name: `CertificatePassword`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

The password for the certificate.

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

## CertificatePath

- Name: `CertificatePath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

The path to the certificate file.

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

## CreateDatabase

- Name: `CreateDatabase`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

Gets or sets a value indicating whether a new database should be created if it does not already exist. If set to `true` and a database with the specified name already exists, the existing database will be used. The default value is `false`.

```csharp
public bool CreateDatabase { get; set; }
```

## DatabaseName

- Name: `DatabaseName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

The name of the database to connect to.

```csharp
public string? DatabaseName { get; set; }
```

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

Gets or sets a boolean value that indicates whether RavenDB health check is disabled or not. The default value is `false`.

```csharp
public bool DisableHealthChecks { get; set; }
```

## DisableTracing

- Name: `DisableTracing`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

Gets or sets a value indicating whether OpenTelemetry tracing is disabled. The default value is `false`.

```csharp
public bool DisableTracing { get; set; }
```

## HealthCheckTimeout

- Name: `HealthCheckTimeout`
- Modifiers: `nullable` `get; set`
- Returns: `int?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

Gets or sets the timeout in milliseconds for the RavenDB health check.

```csharp
public int? HealthCheckTimeout { get; set; }
```

## ModifyDocumentStore

- Name: `ModifyDocumentStore`
- Modifiers: `nullable` `get; set`
- Returns: `Action<IDocumentStore>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

Action that allows modifications of the `Documents.IDocumentStore`.

```csharp
public Action<IDocumentStore>? ModifyDocumentStore { get; set; }
```

## Urls

- Name: `Urls`
- Modifiers: `nullable` `get; set`
- Returns: `string[]?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

The URLs of the RavenDB server nodes.

```csharp
public string[]? Urls { get; set; }
```
