Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

BitwardenSecretManagerResource.WithCacheFile

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
type BitwardenSecretManagerResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: