1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Mar 13 09:56:21 UTC 2024

This commit is contained in:
Automated 2024-03-13 09:56:22 +00:00
parent 7f632e0c5d
commit 75379bf68b
273 changed files with 9390 additions and 532 deletions

View file

@ -2,9 +2,10 @@ NAME
gcloud beta secrets create - create a new secret
SYNOPSIS
gcloud beta secrets create SECRET [--data-file=PATH]
[--labels=[KEY=VALUE,...]] [--set-annotations=[KEY=VALUE,...]]
[--topics=[TOPICS,...]] [--expire-time=EXPIRE-TIME | --ttl=TTL]
gcloud beta secrets create (SECRET : --location=LOCATION)
[--data-file=PATH] [--labels=[KEY=VALUE,...]]
[--set-annotations=[KEY=VALUE,...]] [--topics=[TOPICS,...]]
[--expire-time=EXPIRE-TIME | --ttl=TTL]
[--next-rotation-time=NEXT_ROTATION_TIME
--rotation-period=ROTATION_PERIOD]
[--replication-policy-file=REPLICATION-POLICY-FILE
@ -73,23 +74,38 @@ EXAMPLES
--rotation-period="7200s"
POSITIONAL ARGUMENTS
Secret resource - The secret to create. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be
set in other ways.
Global or regional secret resource - create a secret The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument SECRET on the command line with a fully
◆ provide the argument secret on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
◆ set the property core/project. This resource can be one of the
following types: [secret, regional secret].
This must be specified.
SECRET
ID of the secret or fully qualified identifier for the secret.
ID of the global or regional secret or fully qualified identifier for
the global or regional secret.
To set the secret attribute:
▸ provide the argument SECRET on the command line.
▸ provide the argument secret on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
[EXPERIMENTAL] The location of the global or regional secret.
To set the location attribute:
▸ provide the argument secret on the command line with a fully
specified name;
▸ provide the argument --location on the command line. Must be
specified for resource of type [regional secret].
FLAGS
--data-file=PATH