Google Cloud SDK Autoconnect

Auto connect to your gcloud account when using 'gcloud auth login' command

Author
Alexandre Picavet
Daily installs
0
Total installs
6
Ratings
0 0 0
Version
1.2.0
Created
2024-08-22
Updated
2024-11-29
Size
3.74 KB
License
GPL-3.0
Applies to

Google Cloud SDK Autoconnect

This script automates the Google Cloud CLI authentication process.

When you enter the command:

$ gcloud auth login

A webpage opens on your browser then the script:

  • Selects the first Google account
  • Connects you to the selected Google account
  • Allows Google Cloud SDK to access your Google account
  • Copies the verification code to your clipboard
  • Closes the tab