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 activate-service-account

NAME
gcloud-auth-activate-service-account - Get credentials for a service account, using a .p12 file for the private key. If --project is set, set the default project.
SYNOPSIS
gcloud auth activate-service-account
  ACCOUNT
  [--format FORMAT]
  [--help]
  --key-file KEY_FILE
  [--password-file PASSWORD_FILE | --prompt-for-password]
  [--project PROJECT]
  [--quiet, -q]
  [-h]
POSITIONAL ARGUMENTS
ACCOUNT
The email for the service account.
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.
--key-file KEY_FILE
Path to the service accounts private key.
--password-file PASSWORD_FILE
Path to a file containing the password for the service account private key.
--project PROJECT
Google Cloud Platform project to use for this invocation.
--prompt-for-password
Prompt for the password for the service account private key.
--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.