mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Wed Mar 1 10:23:17 UTC 2023
This commit is contained in:
parent
7664984b79
commit
bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions
|
|
@ -8,7 +8,18 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Gets the protected resources summary.
|
||||
(ALPHA) gcloud alpha kms inventory get-protected-resources-summary returns
|
||||
a summary of the resources a key is protecting.
|
||||
|
||||
The summary includes: How many projects contain protected resources How
|
||||
many protected resources there are What types of protected resources The
|
||||
count for each type of protected resource
|
||||
|
||||
EXAMPLES
|
||||
To view the summary of protected resources for the key puppy, run:
|
||||
|
||||
$ gcloud alpha kms inventory get-protected-resources-summary \
|
||||
--keyname=puppy
|
||||
|
||||
REQUIRED FLAGS
|
||||
Key resource - The KMS key resource. The arguments in this group can be
|
||||
|
|
@ -53,5 +64,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta kms inventory get-protected-resources-summary
|
||||
|
||||
|
|
|
|||
|
|
@ -29,5 +29,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta kms inventory
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,17 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Lists the keys in a project.
|
||||
(ALPHA) gcloud alpha kms inventory list-keys lists the keys in the
|
||||
specified project.
|
||||
|
||||
EXAMPLES
|
||||
To view the keys in the default project, run:
|
||||
|
||||
$ gcloud alpha kms inventory list-keys
|
||||
|
||||
To view the keys in project jellyfish, run:
|
||||
|
||||
$ gcloud alpha kms inventory list-keys --project=jellyfish
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
|
|
@ -53,5 +63,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta kms inventory list-keys
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,16 @@ SYNOPSIS
|
|||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Searches the resources protected by a key.
|
||||
(ALPHA) gcloud alpha kms inventory search-protected-resources returns a
|
||||
list of the resources a key is protecting within the specified
|
||||
organization.
|
||||
|
||||
EXAMPLES
|
||||
To view the protected resources for the key puppy and organization number
|
||||
1234 run:
|
||||
|
||||
$ gcloud alpha kms inventory search-protected-resources \
|
||||
--keyname=puppy --scope=1234
|
||||
|
||||
REQUIRED FLAGS
|
||||
--scope=ORGANIZATION_ID
|
||||
|
|
@ -90,5 +99,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta kms inventory search-protected-resources
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue