mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 13:10:18 +00:00
gcloud: Wed Mar 27 09:52:07 UTC 2024
This commit is contained in:
parent
5b4fac9106
commit
4ade1b44cc
148 changed files with 5765 additions and 482 deletions
|
|
@ -3,8 +3,8 @@ NAME
|
|||
secret
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions add (SECRET : --location=LOCATION)
|
||||
--data-file=PATH [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta secrets versions add SECRET --data-file=PATH
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Create a new version of an existing secret with the provided data.
|
||||
|
|
@ -30,38 +30,23 @@ EXAMPLES
|
|||
$ gcloud beta secrets versions add my-secret --data-file=/tmp/secret
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret resource - to create 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.
|
||||
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.
|
||||
|
||||
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. This resource can be one of the
|
||||
following types: [secret, regional secret].
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SECRET
|
||||
ID of the global or regional secret or fully qualified identifier for
|
||||
the global or regional secret.
|
||||
ID of the secret or fully qualified identifier for the secret.
|
||||
|
||||
To set the secret attribute:
|
||||
▸ 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].
|
||||
▸ provide the argument SECRET on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--data-file=PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue