• Gets secret value from AWS Secret Manager. Requires access rights to the secret, specified by the secretName parameter.

    Parameters

    • secretName: string

      name of the secret to retrieve

    • region: string

    Returns Promise<string>