method IGcpSecretsClient.addSecretVersion
IGcpSecretsClient.addSecretVersion(
name: string,
value: string
): Promise<void>

Adds a new version to a secret.

Parameters

name: string

The secret name

value: string

The new secret value

Return Type

Promise<void>

Usage

import { type IGcpSecretsClient } from "secrets-plugin/src/index.ts";