mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 16:37:00 +00:00
gcloud: Wed Apr 26 10:24:37 UTC 2023
This commit is contained in:
parent
b33a8a3e6e
commit
2ae1bc2b12
276 changed files with 6093 additions and 833 deletions
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta auth application-default print-access-token
|
||||
[--scopes=SCOPE,[SCOPE,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
[--lifetime=LIFETIME] [--scopes=SCOPE,[SCOPE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta auth application-default print-access-token generates
|
||||
|
|
@ -42,6 +43,16 @@ DESCRIPTION
|
|||
https://cloud.google.com/apis/docs/system-parameters for more information.
|
||||
|
||||
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 only works
|
||||
when either --impersonate-service-account flag or
|
||||
auth/impersonate_service_account property is set.
|
||||
|
||||
--scopes=SCOPE,[SCOPE,...]
|
||||
The scopes to authorize for. This flag is supported for user accounts
|
||||
and service accounts only. The list of possible scopes can be found at:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue