Skip to content

Getting setup with Google gcloud CLI

  • Install the Google Cloud SDK
    • Using Homebrew brew cask install google-cloud-sdk
gcloud auth login
gcloud config set project gitlab-production
gcloud 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