@predictivehire/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

common-utils

Public common utils services for PredictiveHire

Install

npm i @predictivehire/utils
# or
yarn add @predictivehire/utils

SecretsManager

  • fetching secrets from AWS Secret Manager with caching mechanism.
import { SecretsManager } from "@predictivehire/utils"
const secretsManager = new SecretsManager("ap-southeast-2") // pass the aws region
const username = await secretsManager.getSecretValue("secretKey", "secretManagerName")
const password = await secretsManager.getSecretValue("secretKey", "secretManagerName")

Readme

Keywords

Package Sidebar

Install

npm i @predictivehire/utils

Weekly Downloads

1

Version

1.0.9

License

MIT

Unpacked Size

8.63 kB

Total Files

17

Last publish

Collaborators

  • tonynguyenit18
  • junyan-predictivehire
  • jackjackjackjackjackjack
  • sx8807654