- NAME
- gcloud-auth - Manage oauth2 credentials for the Google Cloud SDK.
- SYNOPSIS
-
gcloud auth COMMAND [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] [-h]
- FLAGS
-
-
--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.
-
--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.
-
- COMMANDS
-
COMMAND
is one of the following. -
-
activate-refresh-token
- Get credentials via an existing refresh token.
-
activate-service-account
- Get credentials via the private key for a service account.
-
list
- List the accounts for known credentials.
-
login
- Get credentials for the tools in the Google Cloud SDK via a web flow.
-
revoke
- Revoke authorization for credentials.
-
gcloud auth
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.