mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Tue Jan 20 11:05:01 UTC 2026
This commit is contained in:
parent
bdd724fcf3
commit
582f364023
247 changed files with 5698 additions and 1205 deletions
|
|
@ -24,15 +24,16 @@ EXAMPLES
|
|||
To set the CMEK key on an automatic secret called my-secret to a specified
|
||||
KMS key, run:
|
||||
|
||||
$gcloud secrets replication update my-secret
|
||||
--set-kms-key=projects/my-project/locations/global/keyRings/my-keyring/cryptoKeys/my-key
|
||||
$ gcloud secrets replication update my-secret \
|
||||
--set-kms-key=projects/my-project/locations/global/keyRings/\
|
||||
my-keyring/cryptoKeys/my-key
|
||||
|
||||
To set the CMEK key on a secret called my-secret to a specified KMS key in
|
||||
a specified location in its replication, run:
|
||||
|
||||
$gcloud secrets replication update my-secret
|
||||
--set-kms-key=projects/my-project/locations/us-central1/keyRings/my-keyring/cryptoKeys/my-key
|
||||
--location=us-central1
|
||||
$ gcloud secrets replication update my-secret \
|
||||
--set-kms-key=projects/my-project/locations/us-central1/\
|
||||
keyRings/my-keyring/cryptoKeys/my-key --location=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Secret resource - The secret to update. This represents a Cloud resource.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue