1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Jul 26 10:48:49 UTC 2023

This commit is contained in:
Automated 2023-07-26 10:48:49 +00:00
parent 64e67b443c
commit 4558a00e48
204 changed files with 2787 additions and 1591 deletions

View file

@ -68,13 +68,13 @@ EXAMPLES
--keyring=rangers --purpose=encryption --rotation-period=30d \
--next-rotation-time=2017-10-12T12:34:56.1234Z
The following command creates a key named foo with protection level
software within the keyring fellowship and location us-east1 with two
specified labels:
The following command creates a raw encryption key named foo with
protection level software within the keyring fellowship and location
us-east1 with two specified labels:
$ gcloud kms keys create foo --location=us-east1 \
--keyring=fellowship --purpose=encryption \
--labels=env=prod,team=kms
--keyring=fellowship --purpose=raw-encryption \
--default-algorithm=aes-128-cbc --labels=env=prod,team=kms
The following command creates an asymmetric key named samwise with
protection level software and default algorithm ec-sign-p256-sha256 within
@ -153,7 +153,8 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
--purpose=PURPOSE
The "purpose" of the key. PURPOSE must be one of:
asymmetric-encryption, asymmetric-signing, encryption, mac.
asymmetric-encryption, asymmetric-signing, encryption, mac,
raw-encryption.
OPTIONAL FLAGS
--crypto-key-backend=CRYPTO_KEY_BACKEND
@ -166,7 +167,8 @@ OPTIONAL FLAGS
The default algorithm for the crypto key. For more information about
choosing an algorithm, see
https://cloud.google.com/kms/docs/algorithms. DEFAULT_ALGORITHM must be
one of: ec-sign-p256-sha256, ec-sign-p384-sha384,
one of: aes-128-cbc, aes-128-ctr, aes-128-gcm, aes-256-cbc,
aes-256-ctr, aes-256-gcm, ec-sign-p256-sha256, ec-sign-p384-sha384,
ec-sign-secp256k1-sha256, external-symmetric-encryption,
google-symmetric-encryption, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384, hmac-sha512, rsa-decrypt-oaep-2048-sha1,

View file

@ -116,7 +116,8 @@ FLAGS
The default algorithm for the crypto key. For more information about
choosing an algorithm, see
https://cloud.google.com/kms/docs/algorithms. DEFAULT_ALGORITHM must be
one of: ec-sign-p256-sha256, ec-sign-p384-sha384,
one of: aes-128-cbc, aes-128-ctr, aes-128-gcm, aes-256-cbc,
aes-256-ctr, aes-256-gcm, ec-sign-p256-sha256, ec-sign-p384-sha384,
ec-sign-secp256k1-sha256, external-symmetric-encryption,
google-symmetric-encryption, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384, hmac-sha512, rsa-decrypt-oaep-2048-sha1,

View file

@ -54,7 +54,8 @@ FLAGS
Location of the keyring.
--primary
If specified, immediately make the new version primary.
If specified, immediately makes the new version primary. This should
only be used with the encryption purpose.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -31,18 +31,19 @@ REQUIRED FLAGS
The algorithm to assign to the new key version. For more information
about supported algorithms, see
https://cloud.google.com/kms/docs/algorithms. ALGORITHM must be one of:
ec-sign-p256-sha256, ec-sign-p384-sha384, ec-sign-secp256k1-sha256,
google-symmetric-encryption, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384, hmac-sha512, rsa-decrypt-oaep-2048-sha1,
rsa-decrypt-oaep-2048-sha256, rsa-decrypt-oaep-3072-sha1,
rsa-decrypt-oaep-3072-sha256, rsa-decrypt-oaep-4096-sha1,
rsa-decrypt-oaep-4096-sha256, rsa-decrypt-oaep-4096-sha512,
rsa-sign-pkcs1-2048-sha256, rsa-sign-pkcs1-3072-sha256,
rsa-sign-pkcs1-4096-sha256, rsa-sign-pkcs1-4096-sha512,
rsa-sign-pss-2048-sha256, rsa-sign-pss-3072-sha256,
rsa-sign-pss-4096-sha256, rsa-sign-pss-4096-sha512,
rsa-sign-raw-pkcs1-2048, rsa-sign-raw-pkcs1-3072,
rsa-sign-raw-pkcs1-4096.
aes-128-cbc, aes-128-ctr, aes-128-gcm, aes-256-cbc, aes-256-ctr,
aes-256-gcm, ec-sign-p256-sha256, ec-sign-p384-sha384,
ec-sign-secp256k1-sha256, google-symmetric-encryption, hmac-sha1,
hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512,
rsa-decrypt-oaep-2048-sha1, rsa-decrypt-oaep-2048-sha256,
rsa-decrypt-oaep-3072-sha1, rsa-decrypt-oaep-3072-sha256,
rsa-decrypt-oaep-4096-sha1, rsa-decrypt-oaep-4096-sha256,
rsa-decrypt-oaep-4096-sha512, rsa-sign-pkcs1-2048-sha256,
rsa-sign-pkcs1-3072-sha256, rsa-sign-pkcs1-4096-sha256,
rsa-sign-pkcs1-4096-sha512, rsa-sign-pss-2048-sha256,
rsa-sign-pss-3072-sha256, rsa-sign-pss-4096-sha256,
rsa-sign-pss-4096-sha512, rsa-sign-raw-pkcs1-2048,
rsa-sign-raw-pkcs1-3072, rsa-sign-raw-pkcs1-4096.
--import-job=IMPORT_JOB
Name of the import job to import from.