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.
What You’ll Need¶
- A Google account.
- An existing management enviroment.
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 [firstname.lastname@example.org].
Verify you have successfully signed in to your account:root@rok-tools:~# gcloud auth list Credentialed Accounts ACTIVE ACCOUNT * email@example.com
You have successfully authorized Google Cloud SDK for your account in your management environment.
The next step is to set up your cloud environment.