Nearly Perpendicular Macaroons

    @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)

    Keywords

    none

    Install

    npm i @naturalcycles/secret-service

    DownloadsWeekly Downloads

    0

    Version

    1.0.20

    License

    UNLICENSED

    Unpacked Size

    9.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • kribor
    • kirillgroshkov
    • cervicalmucus