1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +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

@ -29,26 +29,28 @@ EXAMPLES
CA:
$ gcloud beta privateca subordinates create server-tls-1 \
--subject="CN=Joonix TLS CA, O=Google" \
--issuer=prod-root --issuer-location=us-west1 \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--subject="CN=Joonix 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"
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 \
--csr-output-file="./csr.pem" \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRings/kr1/cryptoKeys/key2/cryptoKeyVersions/1"
--subject="CN=Joonix 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"
To create a subordinate CA named 'server-tls-1' chaining up to a root CA
named 'prod-root' based on an existing CA:
$ 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/keyRings/kr1/cryptoKeys/key2/cryptoKeyVersions/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"
POSITIONAL ARGUMENTS
Certificate Authority resource - The name of the subordinate CA to create.