# BitwardenSecretManagerResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager](/reference/api/csharp/communitytoolkit.aspire.hosting.bitwarden.secretmanager.md)
- Type: [BitwardenSecretManagerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.bitwarden.secretmanager/bitwardensecretmanagerresource.md)
- Kind: `Properties`
- Members: `4`

Represents a Bitwarden Secrets Manager project and secret graph.

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

## AuthCacheDirectory

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

Gets the AppHost auth cache directory override (Bitwarden SDK auth session on the AppHost).

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

<a id="cachefile"></a>

## CacheFile

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

Gets the AppHost cache file path override (integration bookkeeping: project ID, secret ID mappings).

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

<a id="existingprojectid"></a>

## ExistingProjectId

- Name: `ExistingProjectId`
- Modifiers: `nullable` `get`
- Returns: `Guid?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager/BitwardenSecretManagerResource.cs)

Gets the existing Bitwarden project identifier when the project is adopted by ID. Set during [BitwardenSecretManagerResource.ResolveProjectIdentityAsync](/reference/api/csharp/communitytoolkit.aspire.hosting.bitwarden.secretmanager/bitwardensecretmanagerresource/methods.md) when the configured parameter resolves to a GUID.

```csharp
public Guid? ExistingProjectId { get; }
```

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

## ProjectId

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

Gets the resolved Bitwarden project identifier after initialization.

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