Update cas.md

Added `--location` flag to a couple of the commands
This commit is contained in:
Carl Tashian 2020-09-29 15:24:15 -07:00 committed by GitHub
parent 7d779e12db
commit 3f55f22b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,6 +103,7 @@ or using `gcloud` CLI:
```sh ```sh
gcloud beta privateca roots create prod-root-ca \ gcloud beta privateca roots create prod-root-ca \
--location us-west1 \
--kms-key-version "$KMS_ROOT_KEY_VERSION" \ --kms-key-version "$KMS_ROOT_KEY_VERSION" \
--subject "CN=Example Root CA, O=Example LLC" \ --subject "CN=Example Root CA, O=Example LLC" \
--max-chain-length 2 --max-chain-length 2
@ -112,7 +113,9 @@ or using `gcloud` CLI:
```sh ```sh
gcloud beta privateca subordinates create prod-intermediate-ca \ gcloud beta privateca subordinates create prod-intermediate-ca \
--issuer prod-root-ca --issuer-location us-west1 \ --location us-west1 \
--issuer prod-root-ca \
--issuer-location us-west1 \
--kms-key-version "$KMS_INTERMEDIATE_KEY_VERSION" \ --kms-key-version "$KMS_INTERMEDIATE_KEY_VERSION" \
--subject "CN=Example Intermediate CA, O=Example LLC" \ --subject "CN=Example Intermediate CA, O=Example LLC" \
--reusable-config "subordinate-server-tls-pathlen-0" --reusable-config "subordinate-server-tls-pathlen-0"