Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 327 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 327 Bytes

Google Cloud load secrets

Execute binary with secrets loaded as environment variables

Usage

Run bash command and inject environment variables that start with "myapp"

export GOOGLE_APPLICATION_CREDENTIALS=credentials.json
./gcloud-load-secrets-darwin-amd64 -label app=myapp -cmd '/bin/bash -c ls -ahl' -debug true