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

    Type Alias NeededAwsSecretsManagerClient

    Minimal subset of AWS's SecretsManagerClient from the @aws-sdk/client-secrets-manager package required for AwsSecretsManagerAdapter.

    For testing purposes use MockAwsSecretsManagerClient to create a mock instance of this.

    type NeededAwsSecretsManagerClient = {
        send(
            command: GetSecretValueCommand,
        ): Promise<GetSecretValueCommandOutput>;
    }
    Index

    Methods

    Methods

    • Same as AWS's SecretsManagerClient.send() method but this only accepts the GetSecretValueCommand command.

      Parameters

      • command: GetSecretValueCommand

      Returns Promise<GetSecretValueCommandOutput>