← Misc451 / 640
hardgcloud

Create a new Cloud KMS symmetric encryption key in a key ring

command

gcloud kms keys create KEY_NAME --location LOCATION --keyring KEYRING --purpose encryption

also accepted

gcloud kms keys create

Command breakdown

Part of the Google Cloud CLI (gcloud) — Misc category.

gcloudkmskeyscreateKEY_NAME--locationLOCATION--keyringKEYRING--purposeencryption
FlagPurpose
--locationBoolean flag
--keyringBoolean flag
--purposeBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →