Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAuthCacheDirectory

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (BitwardenSecretManagerResource) 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.
WithAuthCacheDirectory(authCacheDirectory string) BitwardenSecretManagerResource
authCacheDirectorystringThe auth cache directory on the AppHost, relative to the Aspire store when not rooted.
BitwardenSecretManagerResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: