method IAwsSecretsClient.getSecretValue
IAwsSecretsClient.getSecretValue(secretId: string): Promise<string | null>

Retrieves a secret string by id.

Parameters

secretId: string

The AWS Secrets Manager secret id

Return Type

Promise<string | null>

The secret string, or null when it does not exist

Usage

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