gdcloud auth activate-service-account

NAME

gdcloud auth activate-service-account - Authorize access to GDC air-gapped with a service account.

SYNOPSIS

gdcloud auth activate-service-account [flags]

DESCRIPTION

Authorize access to GDC air-gapped with a service account. To allow gdcloud to make requests using service account credentials, use this command to import these credentials from a file that contains a private authorization key, and activate them for use in gdcloud. The "gdcloud auth activate-service-account" serves the same function as the "gdcloud auth login" command, but uses a service account rather than the user credentials.

EXAMPLES

To authorize gdcloud to access GDC air-gapped using an existing service account, run:

   gdcloud auth activate-service-account --key-file=/path/key.json

REQUIRED FLAGS

      --key-file string   Path to the private key file.

GDCLOUD WIDE FLAGS

These flags are available to all commands: --configuration, --format, --help, --project, --quiet.

For more information, see the gdcloud CLI reference overview page.