Skip to content
DocsTry Aspire
DocsTry

BitwardenSecretManagerResource.withAuthCacheDirectory

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
interface BitwardenSecretManagerResource {
// ... omitted for brevity
withAuthCacheDirectory(authCacheDirectory: string): BitwardenSecretManagerResource;
}

Signature

methodwithAuthCacheDirectorybuilder
Overrides the AppHost auth cache directory (Bitwarden SDK auth session used by the AppHost reconciler). Defaults to the Aspire store when not set. Override to reuse a cached auth session across CI runs. To configure the auth cache directory inside the deployed app, use `WithBitwardenAuthCacheDirectory``1`.
withAuthCacheDirectory(authCacheDirectory: string): BitwardenSecretManagerResource
authCacheDirectorystring
BitwardenSecretManagerResource

Defined on

This method is defined on the following type: