gcp-secrets

command module
v0.0.0-...-e23fa6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Read Google cloud secrets from Secret Manager using service account.

HOWTO

  • Create service account and download json key
  • Add in IAM role Secret Manager Secret Accessor role
  • export env variable GOOGLE_APPLICATION_CREDENTIALS with your service account key file
gcp-secret -p project-id -s secretname

building

go build

Currently supported

  • Secret value for latest version of secret

TODO:

  • Add versioning support
  • Add flag to list all secrets available
  • Add possibility to save new version of secret

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL