Getting setup with Google gcloud CLI
Install
Section titled “Install”- Install the Google Cloud SDK
- Using Homebrew
brew cask install google-cloud-sdk
- Using Homebrew
Authenticate
Section titled “Authenticate”gcloud auth logingcloud config set project gitlab-productiongcloud auth application-default login
This will create a .json file in $HOME/.config/gcloud/application_default_credentials.json
which will provide default credentials to applications using the Google Cloud SDK