method GcpSecretManagerProvider.prototype.get
GcpSecretManagerProvider.prototype.get(name: string): Promise<string | null>

Reads a secret from GCP Secret Manager.

Parameters

name: string

The secret short name

Return Type

Promise<string | null>

The value, or null when absent

Usage

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