1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Thu Apr 20 10:38:56 UTC 2023

This commit is contained in:
Automated 2023-04-20 10:38:56 +00:00
parent b155beb241
commit b33a8a3e6e
169 changed files with 3258 additions and 576 deletions

View file

@ -3,7 +3,8 @@ NAME
specified account
SYNOPSIS
gcloud beta auth print-access-token [ACCOUNT] [GCLOUD_WIDE_FLAG ...]
gcloud beta auth print-access-token [ACCOUNT] [--lifetime=LIFETIME]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Print an access token for the specified account. See RFC6749
@ -34,6 +35,16 @@ POSITIONAL ARGUMENTS
Account to get the access token for. If not specified, the current
active account will be used.
FLAGS
--lifetime=LIFETIME
Access token lifetime. The default access token lifetime is 3600
seconds, but you can use this flag to reduce the lifetime or extend it
up to 43200 seconds (12 hours). The org policy constraint
constraints/iam.allowServiceAccountCredentialLifetimeExtension must be
set if you want to extend the lifetime beyond 3600 seconds. Note that
this flag is for service account impersonation only, so it must be used
together with the --impersonate-service-account flag.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,