Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



gcloud auth login

NAME
gcloud-auth-login - Obtains access credentials for the Google Cloud Platform resources of the given account, via a web flow. If the account already has valid credentials, it is set as active without re-running the web flow.
SYNOPSIS
gcloud auth login
  [ACCOUNT]
  [--do-not-activate]
  [--force]
  [--format FORMAT]
  [--help]
  [--no-launch-browser]
  [--project PROJECT]
  [--quiet, -q]
  [-h]
POSITIONAL ARGUMENTS
[ACCOUNT]
The account to log in as.
FLAGS
--do-not-activate
Do not set the new credentials as active.
--force
Re-run the web flow even if the given account has valid credentials.
--format FORMAT
Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
--help
Display detailed help.
--no-launch-browser
Print a URL to be copied instead of launching a web browser.
--project PROJECT
Google Cloud Platform project to use for this invocation.
--quiet
Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-h
Print a summary help and exit.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.