Run commands with secrets from GCP Secret Manager.
This program resolves environment variables that starts with secretmanager://
.
$ NON_SECRET=not_secret SECRET=secretmanager://<PROJECT_NAME>/<SECRET_NAME>/<VERSION> ./exec-with-secret sh -c 'echo $NON_SECRET $SECRET'
not_secret very_important_secret
MIT