Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
/ gcp-secrets Public archive

Get Google cloud secrets with service account.

License

Notifications You must be signed in to change notification settings

Atoms/gcp-secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Languages