updating-secrets - v0.3.1
    Preparing search index...

    Class MockAwsSecretsManagerClient

    A mock implementation of SecretsManagerClient from the @aws-sdk/client-secrets-manager package.

    This only mocks the following:

    • The .send() method
    • Sending a GetSecretValueCommand command
    • Returning a .SecretString value from that command
    Index

    Constructors

    Methods

    Constructors

    Methods

    • A mock implementation of SecretsManagerClient.send(). Only the first parameter (the command) is used.

      Parameters

      • command: GetSecretValueCommand

      Returns Promise<GetSecretValueCommandOutput>