mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Fri Mar 22 09:56:14 UTC 2024
This commit is contained in:
parent
75379bf68b
commit
5b4fac9106
182 changed files with 4221 additions and 251 deletions
|
|
@ -15,7 +15,8 @@ SYNOPSIS
|
|||
[--next-rotation-time=NEXT_ROTATION_TIME --remove-next-rotation-time
|
||||
--remove-rotation-period
|
||||
--remove-rotation-schedule --rotation-period=ROTATION_PERIOD]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--remove-version-destroy-ttl
|
||||
| --version-destroy-ttl=VERSION-DESTROY-TTL] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a secret's metadata (e.g. labels). This command will return
|
||||
|
|
@ -63,6 +64,14 @@ EXAMPLES
|
|||
|
||||
$ gcloud beta secrets update my-secret --remove-rotation-schedule
|
||||
|
||||
Update version destroy ttl of a secret:
|
||||
|
||||
$ gcloud beta secrets update my-secret --version-destroy-ttl="86400s"
|
||||
|
||||
Disable delayed secret version destroy:
|
||||
|
||||
$ gcloud beta secrets update my-secret --remove-version-destroy-ttl
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret resource - to update The arguments in this group
|
||||
can be used to specify the attributes of this resource. (NOTE) Some
|
||||
|
|
@ -203,6 +212,20 @@ FLAGS
|
|||
--rotation-period=ROTATION_PERIOD
|
||||
Duration of time (in seconds) between rotation notifications.
|
||||
|
||||
Version destroy ttl.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--remove-version-destroy-ttl
|
||||
If set, removes the version destroy TTL from the secret.
|
||||
|
||||
--version-destroy-ttl=VERSION-DESTROY-TTL
|
||||
Secret Version TTL after destruction request. For secret with TTL>0,
|
||||
version destruction does not happen immediately on calling destroy;
|
||||
instead, the version goes to a disabled state and destruction happens
|
||||
after the TTL expires. See $ gcloud topic datetimes for information
|
||||
on duration formats.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue