gdcloud iam service-accounts keys create

NAME

gdcloud iam service-accounts keys create - creates the application default credentials JSON and keys

SYNOPSIS

gdcloud iam service-accounts keys create [flags]

DESCRIPTION

This command creates the application default credentials JSON and the public/private key pairs.

EXAMPLES

The following command creates the application default credentials JSON file and put the public into the corresponding ProjectServiceAccount:

      gdcloud iam service-accounts keys create <application default credentials JSON file name> [FLAGS]

      Flags:
        "--project <project>" selects the project to create the key for. If project is set by running "gdcloud init" command, then this flag can be omitted.
        "--iam-account <service account>" specifies the project service account to add the key for. This flag is required to run the command.
        "--ca-cert-path <path>" is to verify the authentication endpoint. This flag is optional. If it's not specified, the system cert chain will be used.

REQUIRED FLAGS

      --iam-account string   Project service account to add the key for.

OPTIONAL FLAGS

      --ca-cert-path string   CA cert path to verify the authentication endpoint
  -h, --help                  help for create
      --project string        Project ID to create the key for.