Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithCacheFile

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (BitwardenSecretManagerResource) WithCacheFile(cacheFile string) BitwardenSecretManagerResource

Signature

methodWithCacheFilebuilder
Overrides the AppHost cache file path (integration bookkeeping: Bitwarden project ID, secret ID mappings). Defaults to .bitwarden/{resourceName}.{environment}.json relative to the AppHost directory. Override to share the cache across multiple AppHost projects, or to store it in a CI cache directory.
WithCacheFile(cacheFile string) BitwardenSecretManagerResource
cacheFilestringThe cache file path, relative to the AppHost directory when not rooted.
BitwardenSecretManagerResource

The resource builder.

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

Applies to

This method applies to the following types: