1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-21 06:27:15 +00:00

gcloud: Tue Mar 1 21:43:54 UTC 2022

This commit is contained in:
Automated 2022-03-01 21:43:54 +00:00
parent c1c3b75313
commit 21878eea72
1018 changed files with 4838 additions and 3409 deletions

View file

@ -15,8 +15,7 @@ EXAMPLES
fellowship keyring, and global location and sets it as the primary version:
$ gcloud alpha kms keys versions create --location=global \
--keyring=fellowship \
--key=frodo --primary
--keyring=fellowship --key=frodo --primary
The following command creates a new version within the legolas key,
fellowship keyring, us-central1 location,
@ -24,8 +23,7 @@ EXAMPLES
and sets it as the key's primary version:
$ gcloud alpha kms keys versions create --location=us-central1 \
--keyring=fellowship \
--key=legolas \
--keyring=fellowship --key=legolas \
--external-key-uri=https://example.kms/v0/some/key/path \
--primary
@ -35,10 +33,8 @@ EXAMPLES
version:
$ gcloud alpha kms keys versions create --location=us-central1 \
--keyring=fellowship \
--key=bilbo \
--ekm-connection-key-path=v0/some/key/path \
--primary
--keyring=fellowship --key=bilbo \
--ekm-connection-key-path=v0/some/key/path --primary
FLAGS
--ekm-connection-key-path=EKM_CONNECTION_KEY_PATH

View file

@ -18,11 +18,9 @@ EXAMPLES
The following command saves the public key for CryptoKey frodo Version 2 to
'/tmp/my/pem.file':
$ gcloud alpha kms keys versions get-public-key 2 \
--key=frodo \
--keyring=fellowship \
--location=us-east1 \
--output-file=/tmp/my/pem.file
$ gcloud alpha kms keys versions get-public-key 2 --key=frodo \
--keyring=fellowship --location=us-east1 \
--output-file=/tmp/my/pem.file
POSITIONAL ARGUMENTS
VERSION

View file

@ -23,11 +23,9 @@ EXAMPLES
the provided key material.
$ gcloud alpha kms keys versions import --location=global \
--keyring=fellowship \
--key=frodo \
--import-job=strider \
--rsa-aes-wrapped-key-file=path/to/target/key \
--algorithm=google-symmetric-encryption
--keyring=fellowship --key=frodo --import-job=strider \
--rsa-aes-wrapped-key-file=path/to/target/key \
--algorithm=google-symmetric-encryption
REQUIRED FLAGS
--algorithm=ALGORITHM

View file

@ -15,8 +15,7 @@ EXAMPLES
fellowship, and location global:
$ gcloud alpha kms keys versions list --location=global \
--keyring=fellowship \
--key=frodo
--keyring=fellowship --key=frodo
FLAGS
--key=KEY

View file

@ -19,33 +19,27 @@ EXAMPLES
fellowship and location us-east1:
$ gcloud alpha kms keys versions update 8 --location=us-east1 \
--keyring=fellowship \
--key=frodo \
--state=enabled
--keyring=fellowship --key=frodo --state=enabled
The following command disables the key version 8 of key frodo within
keyring fellowship and location us-east1:
$ gcloud alpha kms keys versions update 8 --location=us-east1 \
--keyring=fellowship \
--key=frodo \
--state=disabled
--keyring=fellowship --key=frodo --state=disabled
The following command updates the external key URI of version 8 of key
frodo within keyring fellowship and location us-east1:
$ gcloud alpha kms keys versions update 8 --location=us-east1 \
--keyring=fellowship \
--key=frodo \
--external-key-uri=https://example.kms/v0/some/key/path
--keyring=fellowship --key=frodo \
--external-key-uri=https://example.kms/v0/some/key/path
The following command updates the ekm connection key path of version 8 of
key bilbo within keyring fellowship and location us-east1:
$ gcloud alpha kms keys versions update 8 --location=us-east1 \
--keyring=fellowship \
--key=bilbo \
--ekm-connection-key-path=v0/some/key/path
--keyring=fellowship --key=bilbo \
--ekm-connection-key-path=v0/some/key/path
POSITIONAL ARGUMENTS
VERSION