gcloud beta kms keys Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta kms keys - create and manage keys
- SYNOPSIS
gcloud beta kms keysGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)A key represents a logical key that can be used forcryptographic operations.- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPversions(BETA)Create and manage versions.
- COMMANDS
is one of the following:COMMANDadd-iam-policy-binding(BETA)Add IAM policy binding for a kms key.create(BETA)Create a new key.describe(BETA)Get metadata for a given key.get-iam-policy(BETA)Get the IAM policy for a key.list(BETA)List the keys within a keyring.remove-iam-policy-binding(BETA)Remove IAM policy binding for a kms key.remove-rotation-schedule(BETA)Remove the rotation schedule for a key.set-iam-policy(BETA)Set the IAM policy for a key.set-primary-version(BETA)Set the primary version of a key.set-rotation-schedule(BETA)Update the rotation schedule for a key.update(BETA)Update a key.
- NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudkmskeysgcloudalphakmskeys
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.