Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

BitwardenSecretManagerResource.GetSecret

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
type BitwardenSecretManagerResource interface {
// ... omitted for brevity
GetSecret(name string) BitwardenSecretResource
}

Signature

methodGetSecretbuilder
Gets or creates a Bitwarden secret reference whose Aspire and remote names are the same. The secret must already exist in Bitwarden; use AddSecret if Aspire should own and write the secret value.
GetSecret(name string) BitwardenSecretResource
namestringThe Aspire resource name and Bitwarden secret name.
BitwardenSecretResource

A resource builder for the secret reference.

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

Defined on

This method is defined on the following type: