gcloud alpha auth print-access-token

NAME
gcloud alpha auth print-access-token - print an access token for the specified account
SYNOPSIS
gcloud alpha auth print-access-token [ACCOUNT] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Print an access token for the specified account. See RFC6749 for more information about access tokens.
POSITIONAL ARGUMENTS
[ACCOUNT]
Account to get the access token for. If not specified, the current active account will be used.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

EXAMPLES
To print access tokens:
gcloud alpha auth print-access-token
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud auth print-access-token
gcloud beta auth print-access-token