BitwardenSecretManagerResource.getSecret

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
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
namestringThe Aspire resource name and Bitwarden secret name.
BitwardenSecretResource

Defined on

This method is defined on the following type: