gcp-secret-puller

0.0.4 • Public • Published

gcp secret puller

This tool just pull google cloud secret with your current user permissions and convert them to the requested format.

The definition file should look like this:

postgresql:
  api:
    password:
      gcloudSecretPath:
        project: development
        name: postgresql-api-password
        version: 1
    user:
      gcloudSecretPath:
        project: development
        name: postgresql-api-user
        version: 1
env: develop

GCLOUD_ACCESS_TOKEN=$(gcloud auth print-access-token) gcp-secret-puller secrets.yml dotenv

Versions

Current Tags

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

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i gcp-secret-puller

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

12 kB

Total Files

18

Last publish

Collaborators

  • agix