# BitwardenSecretManagerClientSettings

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Bitwarden.SecretManager](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager.md)
- Version: `13.4.1-beta.706`
- Namespace: `CommunityToolkit.Aspire.Bitwarden.SecretManager`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/BitwardenSecretManagerClientSettings.cs)

Settings used to configure a `Sdk.BitwardenClient`.

## Definition

```csharp
namespace CommunityToolkit.Aspire.Bitwarden.SecretManager;

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

## Constructors

- [BitwardenSecretManagerClientSettings](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/constructors.md#constructor)

## Properties

- [AccessToken](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#accesstoken) : `string` `get; set` -- Gets or sets the Bitwarden access token.
- [ApiUrl](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#apiurl) : `string` `get; set` -- Gets or sets the Bitwarden API URL.
- [AuthCacheDirectory](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#authcachedirectory) : `string?` `get; set` -- 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.
- [DisableHealthChecks](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a value indicating whether health checks should be disabled.
- [HealthCheckTimeout](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#healthchecktimeout) : `TimeSpan?` `get; set` -- Gets or sets the optional health check timeout.
- [IdentityUrl](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#identityurl) : `string` `get; set` -- Gets or sets the Bitwarden identity URL.
- [OrganizationId](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#organizationid) : `Guid` `get; set` -- Gets or sets the Bitwarden organization identifier.
- [ProjectId](/reference/api/csharp/communitytoolkit.aspire.bitwarden.secretmanager/bitwardensecretmanagerclientsettings/properties.md#projectid) : `Guid` `get; set` -- Gets or sets the Bitwarden project identifier.
