Skip to content

Instantly share code, notes, and snippets.

@maurofaccenda
Last active December 14, 2021 19:48
Show Gist options
  • Save maurofaccenda/b1e9a5fc516d2a16c15a7e3d919f4b05 to your computer and use it in GitHub Desktop.
Save maurofaccenda/b1e9a5fc516d2a16c15a7e3d919f4b05 to your computer and use it in GitHub Desktop.
Google Cloud Platform tips and tricks

Environment variables

  • CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE

Point it to the .json file and it will override gcloud/gsutil command line authentication. No need to gcloud auth login or anything like that.

@maxpain
Copy link

maxpain commented Dec 14, 2021

gsutil doesn't support this variable :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment