Configure Google Cloud SDK¶
This guide will walk you through configuring the Google Cloud SDK (
for your Google account.
If you have already configured
gcloud for your account, expand this box
- Proceed to the Verify section.
Authorize your user account:root@rok-tools:~# gcloud auth login --no-launch-browser Go to the following link in your browser: https://accounts.google.com/o/oauth2/auth?....
Open your browser, go to the link shown in your terminal.
Sign in with your account credentials in the browser, press Allow to allow Google Cloud SDK to access your Google account, and copy the verification code.
Switch back to your management environment, and paste the verification code.Enter verification code: You are now logged in as [email@example.com].
Verify you have successfully signed in to your account:root@rok-tools:~# gcloud auth list Credentialed Accounts ACTIVE ACCOUNT * firstname.lastname@example.org
You have successfully authorized Google Cloud SDK for your account in your management environment.