1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Aug 7 09:49:06 UTC 2024

This commit is contained in:
Automated 2024-08-07 09:49:06 +00:00
parent ed2f818f7a
commit 7fe34c472b
98 changed files with 1867 additions and 220 deletions

View file

@ -5,8 +5,8 @@ NAME
SYNOPSIS
gcloud beta firestore databases create --location=LOCATION
[--database=DATABASE; default="(default)"] [--delete-protection]
[--enable-pitr] [--type=TYPE; default="firestore-native"]
[GCLOUD_WIDE_FLAG ...]
[--enable-pitr] [--kms-key-name=KMS_KEY_NAME]
[--type=TYPE; default="firestore-native"] [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To create a Firestore Native database in nam5.
@ -35,6 +35,13 @@ EXAMPLES
$ gcloud beta firestore databases create --location=nam5 \
--enable-pitr
To create a Firestore Native database in nam5 encrypted by a
Customer-managed encryption key (CMEK).
$ gcloud beta firestore databases create --location=nam5 \
--kms-key-name=projects/PROJECT_ID/locations/us/keyRings/\
KEY_RING_ID/cryptoKeys/CRYPTO_KEY_ID
REQUIRED FLAGS
--location=LOCATION
The location to operate on. Available locations are listed at
@ -71,6 +78,19 @@ OPTIONAL FLAGS
If set to true, PITR on the new database will be enabled. By default,
this feature is not enabled.
--kms-key-name=KMS_KEY_NAME
The resource ID of a Cloud KMS key. If set, the database created will
be a Customer-Managed Encryption Key (CMEK) database encrypted with
this key. This feature is allowlist only in initial launch.
Only a key in the same location as this database is allowed to be used for encryption.
For Firestore's nam5 multi-region, this corresponds to Cloud KMS location us.
For Firestore's eur3 multi-region, this corresponds to Cloud KMS location europe.
See https://cloud.google.com/kms/docs/locations.
This value should be the KMS key resource ID in the format of `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
How to retrieve this resource ID is listed at https://cloud.google.com/kms/docs/getting-resource-ids#getting_the_id_for_a_key_and_version.
--type=TYPE; default="firestore-native"
The type of the database. TYPE must be one of: firestore-native,
datastore-mode.