mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +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
|
|
@ -2,8 +2,7 @@ NAME
|
|||
gcloud beta secrets versions access - access a secret version's data
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions access
|
||||
(VERSION : --location=LOCATION --secret=SECRET)
|
||||
gcloud beta secrets versions access (VERSION : --secret=SECRET)
|
||||
[--out-file=OUT-FILE-PATH] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -29,44 +28,34 @@ EXAMPLES
|
|||
--format='get(payload.data)' | tr '_-' '/+' | base64 -d
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret version resource - to access 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.
|
||||
Version resource - Numeric secret version to access or a configured alias
|
||||
(including 'latest' to use the latest version). 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 version on the command line with a fully
|
||||
◆ provide the argument VERSION 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: [version, regional version].
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
VERSION
|
||||
ID of the global or regional secret version or fully qualified
|
||||
identifier for the global or regional secret version.
|
||||
ID of the version or fully qualified identifier for the version.
|
||||
|
||||
To set the version attribute:
|
||||
▸ provide the argument version on the command line.
|
||||
▸ provide the argument VERSION 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 version.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument version 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 version].
|
||||
|
||||
--secret=SECRET
|
||||
The secret of the global or regional secret version.
|
||||
The secret of the version.
|
||||
|
||||
To set the secret attribute:
|
||||
▸ provide the argument version on the command line with a fully
|
||||
▸ provide the argument VERSION on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --secret on the command line.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@ NAME
|
|||
and secret data
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions destroy
|
||||
(VERSION : --location=LOCATION --secret=SECRET) [--etag=ETAG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta secrets versions destroy (VERSION : --secret=SECRET)
|
||||
[--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Destroy a secret version's metadata and secret data. This action is
|
||||
|
|
@ -22,44 +21,33 @@ EXAMPLES
|
|||
--etag=\"123\"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret version resource - to destroy The arguments in
|
||||
Version resource - Numeric secret version to destroy. 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 version on the command line with a fully
|
||||
◆ provide the argument VERSION 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: [version, regional version].
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
VERSION
|
||||
ID of the global or regional secret version or fully qualified
|
||||
identifier for the global or regional secret version.
|
||||
ID of the version or fully qualified identifier for the version.
|
||||
|
||||
To set the version attribute:
|
||||
▸ provide the argument version on the command line.
|
||||
▸ provide the argument VERSION 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 version.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument version 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 version].
|
||||
|
||||
--secret=SECRET
|
||||
The secret of the global or regional secret version.
|
||||
The secret of the version.
|
||||
|
||||
To set the secret attribute:
|
||||
▸ provide the argument version on the command line with a fully
|
||||
▸ provide the argument VERSION on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --secret on the command line.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@ NAME
|
|||
secret
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions disable
|
||||
(VERSION : --location=LOCATION --secret=SECRET) [--etag=ETAG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta secrets versions disable (VERSION : --secret=SECRET)
|
||||
[--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Disable the version of the provided secret. It can be re-enabled
|
||||
|
|
@ -22,44 +21,33 @@ EXAMPLES
|
|||
--etag=\"123\"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret version resource - to disable The arguments in
|
||||
Version resource - Numeric secret version to disable. 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 version on the command line with a fully
|
||||
◆ provide the argument VERSION 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: [version, regional version].
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
VERSION
|
||||
ID of the global or regional secret version or fully qualified
|
||||
identifier for the global or regional secret version.
|
||||
ID of the version or fully qualified identifier for the version.
|
||||
|
||||
To set the version attribute:
|
||||
▸ provide the argument version on the command line.
|
||||
▸ provide the argument VERSION 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 version.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument version 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 version].
|
||||
|
||||
--secret=SECRET
|
||||
The secret of the global or regional secret version.
|
||||
The secret of the version.
|
||||
|
||||
To set the secret attribute:
|
||||
▸ provide the argument version on the command line with a fully
|
||||
▸ provide the argument VERSION on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --secret on the command line.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@ NAME
|
|||
secret
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions enable
|
||||
(VERSION : --location=LOCATION --secret=SECRET) [--etag=ETAG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta secrets versions enable (VERSION : --secret=SECRET)
|
||||
[--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Enable the version of the provided secret. It can be disabled with
|
||||
|
|
@ -22,44 +21,33 @@ EXAMPLES
|
|||
--etag=\"123\"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret version resource - to enable 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.
|
||||
Version resource - Numeric secret version to enable. 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 version on the command line with a fully
|
||||
◆ provide the argument VERSION 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: [version, regional version].
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
VERSION
|
||||
ID of the global or regional secret version or fully qualified
|
||||
identifier for the global or regional secret version.
|
||||
ID of the version or fully qualified identifier for the version.
|
||||
|
||||
To set the version attribute:
|
||||
▸ provide the argument version on the command line.
|
||||
▸ provide the argument VERSION 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 version.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument version 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 version].
|
||||
|
||||
--secret=SECRET
|
||||
The secret of the global or regional secret version.
|
||||
The secret of the version.
|
||||
|
||||
To set the secret attribute:
|
||||
▸ provide the argument version on the command line with a fully
|
||||
▸ provide the argument VERSION on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --secret on the command line.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,9 @@ NAME
|
|||
gcloud beta secrets versions list - list all versions for a secret
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta secrets versions list (SECRET : --location=LOCATION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE; default=100] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta secrets versions list SECRET [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE; default=100]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) List all versions and their status (For example:
|
||||
|
|
@ -17,38 +16,23 @@ EXAMPLES
|
|||
$ gcloud beta secrets versions list my-secret
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Global or regional secret resource - from which to list versions 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 from which to list versions. 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.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue