Class SecretsManager

A wrapper for AWS Secrets manager.

Constructors

Properties

Methods

Constructors

Properties

cache: Map<string, string> = ...
client: SecretsManagerClient

Methods

  • Get a secret string from the Secret Manager by its id.

    Parameters

    • secretId: string
    • options: {
          noCache?: boolean;
      } = {}
      • OptionalnoCache?: boolean

    Returns Promise<string>