# RavenDBClientSettings

- Kind: `class`
- Package: [CommunityToolkit.Aspire.RavenDB.Client](/reference/api/csharp/communitytoolkit.aspire.ravendb.client.md)
- Version: `13.4.0`
- Namespace: `CommunityToolkit.Aspire.RavenDB.Client`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.RavenDB.Client/RavenDBClientSettings.cs)

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

## Definition

```csharp
namespace CommunityToolkit.Aspire.RavenDB.Client;

public sealed class RavenDBClientSettings
{
    // ...
}
```

## Constructors

- [RavenDBClientSettings](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/constructors.md#constructor)

## Properties

- [Certificate](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#certificate) : `X509Certificate2?` `get; set` -- The certificate for RavenDB server.
- [CertificatePassword](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#certificatepassword) : `string?` `get; set` -- The password for the certificate.
- [CertificatePath](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#certificatepath) : `string?` `get; set` -- The path to the certificate file.
- [CreateDatabase](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#createdatabase) : `bool` `get; set` -- 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`.
- [DatabaseName](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#databasename) : `string?` `get; set` -- The name of the database to connect to.
- [DisableHealthChecks](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether RavenDB health check is disabled or not. The default value is `false`.
- [DisableTracing](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a value indicating whether OpenTelemetry tracing is disabled. The default value is `false`.
- [HealthCheckTimeout](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#healthchecktimeout) : `int?` `get; set` -- Gets or sets the timeout in milliseconds for the RavenDB health check.
- [ModifyDocumentStore](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#modifydocumentstore) : `Action<IDocumentStore>` `get; set` -- Action that allows modifications of the `Documents.IDocumentStore`.
- [Urls](/reference/api/csharp/communitytoolkit.aspire.ravendb.client/ravendbclientsettings/properties.md#urls) : `string[]?` `get; set` -- The URLs of the RavenDB server nodes.
