# BitwardenSecretManagerClientSettings Properties

- Package: [CommunityToolkit.Aspire.Bitwarden.SecretManager](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager.md)
- Type: [BitwardenSecretManagerClientSettings](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings.md)
- Kind: `Properties`
- Members: `8`

Settings used to configure a `Sdk.BitwardenClient`.

<a id="accesstoken"></a>

## AccessToken

- Name: `AccessToken`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the Bitwarden access token.

```csharp
public string AccessToken { get; set; }
```

<a id="apiurl"></a>

## ApiUrl

- Name: `ApiUrl`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the Bitwarden API URL.

```csharp
public string ApiUrl { get; set; }
```

<a id="authcachedirectory"></a>

## AuthCacheDirectory

- Name: `AuthCacheDirectory`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the optional directory where the Bitwarden SDK stores its auth cache file to persist the session across restarts. Set this to a persistent directory (e.g. `/data/bitwarden`) to avoid re-authenticating on every start, which would otherwise hit Bitwarden's rate limits. The filename within the directory is derived from the access token UUID and is managed automatically. Injected by the AppHost integration via the `AuthCacheDirectory` configuration key.

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

<a id="disablehealthchecks"></a>

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets a value indicating whether health checks should be disabled.

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

<a id="healthchecktimeout"></a>

## HealthCheckTimeout

- Name: `HealthCheckTimeout`
- Modifiers: `nullable` `get; set`
- Returns: `TimeSpan?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the optional health check timeout.

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

<a id="identityurl"></a>

## IdentityUrl

- Name: `IdentityUrl`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the Bitwarden identity URL.

```csharp
public string IdentityUrl { get; set; }
```

<a id="organizationid"></a>

## OrganizationId

- Name: `OrganizationId`
- Modifiers: `get; set`
- Returns: `Guid`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the Bitwarden organization identifier.

```csharp
public Guid OrganizationId { get; set; }
```

<a id="projectid"></a>

## ProjectId

- Name: `ProjectId`
- Modifiers: `get; set`
- Returns: `Guid`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Gets or sets the Bitwarden project identifier.

```csharp
public Guid ProjectId { get; set; }
```
