- 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.
-
gcloud auth activate-service-account
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.