vault read -field=value "secret/gcp-creds/${SERVICE_ACCOUNT_PROJECT_ID}/${SERVICE_ACCOUNT_NAME}.json" \
| gcloud auth activate-service-account "${SERVICE_ACCOUNT_EMAIL}" --key-file -
Last active
November 19, 2018 23:58
-
-
Save cxhercules/73cc6bcab1339fa64e79b21f27736580 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment