Editing Gcloud auth login

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
 
   
 
   
 
  [[gcloud auth]] login
 
  [[gcloud auth]] login
  [[gcloud auth login --no-browser]]
+
  gcloud auth login --no-browser
 
 
== Examples ==
 
[[gcloud auth]] login
 
Go to the following link in your browser:
 
    https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=.../...
 
 
You are now logged in as [your_username@your_domain.com].
 
Your current [[project]] is [your-project].  You can change this setting by running:
 
  $ [[gcloud config set project]] [[PROJECT_ID]]
 
  
  
Line 22: Line 13:
 
  You are now logged in as [your_username@your_domain.com].
 
  You are now logged in as [your_username@your_domain.com].
 
  Your current [[project]] is [None].  You can change this setting by running:
 
  Your current [[project]] is [None].  You can change this setting by running:
   $ [[gcloud config set project]] [[PROJECT_ID]]
+
   $ [[gcloud config set project]] PROJECT_ID
 
 
== Errors ==
 
gcloud auth login
 
Your browser has been opened to visit:
 
 
    https://accounts.google.com/o/oauth2/auth?response_type=code&cli.../...od=S256
 
 
ERROR: [[gcloud crashed]] ([[ConnectionError]]): HTTPSConnectionPool(host='[[oauth2.googleapis.com]]',
 
port=443): Max retries exceeded with url: /token (Caused by
 
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x1044c4790>: Failed to
 
establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
 
 
If you would like to report this issue, please run the following command:
 
  [[gcloud feedback]]
 
 
To check gcloud for common problems, please run the following command:
 
  [[gcloud info --run-diagnostics]]
 
 
 
  
 
== Related ==
 
== Related ==
Line 53: Line 26:
 
== See also ==
 
== See also ==
 
* {{gcloud auth}}
 
* {{gcloud auth}}
* {{gcloud config}}
 
 
* {{gcloud}}
 
* {{gcloud}}
  
 
[[Category:GCP]]
 
[[Category:GCP]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: