method ISecretManager.get
ISecretManager.get(name: string): Promise<string>

Retrieves a secret.

Parameters

name: string

Secret name (provider-specific path syntax)

Return Type

Promise<string>

The secret value

Throws

Error

If the secret does not exist or access is denied

Usage

import { type ISecretManager } from "common/src/index.ts";