@naturalcycles/secret-service
TypeScript icon, indicating that this package has built-in type declarations

1.0.20 • Public • Published

SecretService

CircleCI

A module that allows you to pull secrets from a Google Storage bucket during runtime


Usage :

yarn add @naturalcycles/secret-service

in your app

const secretService = require('@naturalcycles/secretservice')

;(async () => {
  const secret = await secretService(
      { bucketName: 'secret_bucket_name' },
      ['key1'],
      serviceAccount // optional if you're on GAE
  )
})()
console.log(process.env.key1)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.20
    0
    • latest

Version History

Package Sidebar

Install

npm i @naturalcycles/secret-service

Weekly Downloads

0

Version

1.0.20

License

UNLICENSED

Unpacked Size

9.2 kB

Total Files

6

Last publish

Collaborators

  • kirillgroshkov
  • kribor