1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Wed Mar 16 08:47:18 UTC 2022

This commit is contained in:
Automated 2022-03-16 08:47:18 +00:00
parent 7d82d0fc32
commit 971306823a
187 changed files with 3248 additions and 630 deletions

View file

@ -29,19 +29,19 @@ EXAMPLES
CA:
$ gcloud beta privateca subordinates create server-tls-1 \
--subject="CN=Joonix TLS CA, O=Google" --issuer=prod-root \
--subject="CN=Example TLS CA, O=Google" --issuer=prod-root \
--issuer-location=us-west1 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
To create a subordinate CA named 'server-tls-1' whose issuer is located
elsewhere:
$ gcloud beta privateca subordinates create server-tls-1 \
--subject="CN=Joonix TLS CA, O=Google" --create-csr \
--subject="CN=Example TLS CA, O=Google" --create-csr \
--csr-output-file="./csr.pem" \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
To create a subordinate CA named 'server-tls-1' chaining up to a root CA
named 'prod-root' based on an existing CA:
@ -49,8 +49,8 @@ EXAMPLES
$ gcloud beta privateca subordinates create server-tls-1 \
--issuer=prod-root --issuer-location=us-west1 \
--from-ca=source-ca --from-ca-location=us-central1 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--kms-key-version="projects/my-project-pki/locations/us-west1/ke\
yRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
POSITIONAL ARGUMENTS
Certificate Authority resource - The name of the subordinate CA to create.