Skip to content
DocsTry Aspire
DocsTry

BitwardenSecretManagerResource.getSecret

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.5.0
interface BitwardenSecretManagerResource {
// ... 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
namestring
BitwardenSecretResource

Defined on

This method is defined on the following type: