We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the article https://circleci.com/docs/2.0/google-auth/, the following block should be updated:
From:
echo $GCLOUD_SERVICE_KEY | sudo gcloud auth activate-service-account --key-file=- sudo gcloud --quiet config set project ${GOOGLE_PROJECT_ID} sudo gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE} to:
echo $GCLOUD_SERVICE_KEY | base64 --decode | sudo gcloud auth activate-service-account --key-file=- sudo gcloud --quiet config set project ${GOOGLE_PROJECT_ID} sudo gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}
without --decoding the base64 encoded json file, an error is thrown because of --key-file= inconsistent format.
The text was updated successfully, but these errors were encountered:
Update google-auth.md
734e6ed
fixes #2862
michelle-luna
Successfully merging a pull request may close this issue.
For the article https://circleci.com/docs/2.0/google-auth/, the following block should be updated:
From:
echo $GCLOUD_SERVICE_KEY | sudo gcloud auth activate-service-account --key-file=-
sudo gcloud --quiet config set project ${GOOGLE_PROJECT_ID}
sudo gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}
to:
echo $GCLOUD_SERVICE_KEY | base64 --decode | sudo gcloud auth activate-service-account --key-file=-
sudo gcloud --quiet config set project ${GOOGLE_PROJECT_ID}
sudo gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}
without --decoding the base64 encoded json file, an error is thrown because of --key-file= inconsistent format.
The text was updated successfully, but these errors were encountered: