Configure Google Cloud SDK¶
This guide will walk you through configuring the Google Cloud SDK (gcloud
)
for your Google account.
Fast Forward
If you have already configured gcloud
for your account, expand this box
to fast-forward.
- Proceed to the Verify section.
Overview
What You’ll Need¶
- A Google account.
- An existing management enviroment.
Procedure¶
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 [jdoe@example.com].
Verify¶
Verify you have successfully signed in to your account:
root@rok-tools:~# gcloud auth list Credentialed Accounts ACTIVE ACCOUNT * jdoe@example.com