gcloud alpha kms keys

NAME
gcloud alpha kms keys - create and manage keys
SYNOPSIS
gcloud alpha kms keysGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) 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 help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Cloud KMS crypto key configurations.
versions
(ALPHA) Create and manage versions.
COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(ALPHA) Add IAM policy binding for a kms key.
create
(ALPHA) Create a new key.
describe
(ALPHA) Get metadata for a given key.
get-iam-policy
(ALPHA) Get the IAM policy for a key.
list
(ALPHA) List the keys within a keyring.
remove-iam-policy-binding
(ALPHA) Remove IAM policy binding for a kms key.
remove-rotation-schedule
(ALPHA) Remove the rotation schedule for a key.
set-iam-policy
(ALPHA) Set the IAM policy for a key.
set-primary-version
(ALPHA) Set the primary version of a key.
set-rotation-schedule
(ALPHA) Update the rotation schedule for a key.
update
(ALPHA) Update a key.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudkmskeys
gcloudbetakmskeys

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.