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

@ -21,18 +21,19 @@ SYNOPSIS
EXAMPLES
To create a root CA that supports one layer of subordinates:
$ gcloud privateca roots create prod-root \
--location=us-west1 --pool=my-pool \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
$ gcloud privateca roots create prod-root --location=us-west1 \
--pool=my-pool \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--subject="CN=Joonix Production Root CA, O=Google" \
--max-chain-length=1
To create a root CA that is based on an existing CA:
$ gcloud privateca roots create prod-root \
--location=us-west1 --pool=my-pool \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRings/kr1/cryptoKeys/k1/cryptoKeyVersions/1" \
--from-ca=source-root
$ gcloud privateca roots create prod-root --location=us-west1 \
--pool=my-pool \
--kms-key-version="projects/joonix-pki/locations/us-west1/keyRin\
gs/kr1/cryptoKeys/k1/cryptoKeyVersions/1" --from-ca=source-root
POSITIONAL ARGUMENTS
Certificate Authority resource - The name of the root CA to create. The