AddBitwardenSecretManager

Method
📦 CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager v13.6.1
func (DistributedApplicationBuilder) AddBitwardenSecretManager(
name string,
projectNameOrId ParameterResource,
organizationId ParameterResource,
accessToken ParameterResource,
) BitwardenSecretManagerResource

Signature

methodAddBitwardenSecretManagerbuilder
Adds a Bitwarden Secrets Manager resource. The projectNameOrId parameter resolves to either a project name (creates or finds by name) or a project identifier GUID (adopts the existing project by ID).
AddBitwardenSecretManager(
name string,
projectNameOrId ParameterResource,
organizationId ParameterResource,
accessToken ParameterResource,
) BitwardenSecretManagerResource
namestringThe resource name.
projectNameOrIdParameterResourceThe parameter that resolves to the Bitwarden project name or project identifier (GUID).
organizationIdParameterResourceThe parameter that resolves to the Bitwarden organization identifier.
accessTokenParameterResourceThe access token parameter used to manage the Bitwarden project and managed secrets.
BitwardenSecretManagerResource

The resource builder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder