- NAME
-
- gcloud kms keys - create and manage keys
- SYNOPSIS
-
-
gcloud kms keys
GROUP
|COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- A key represents a logical key that can be used for cryptographic operations.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - GROUPS
-
is one of the following:GROUP
versions
- Create and manage versions.
- COMMANDS
-
is one of the following:COMMAND
add-iam-policy-binding
- Add IAM policy binding for a kms key.
create
- Create a new key.
describe
- Get metadata for a given key.
get-iam-policy
- Get the IAM policy for a key.
list
- List the keys within a keyring.
remove-iam-policy-binding
- Remove IAM policy binding for a kms key.
remove-rotation-schedule
- Remove the rotation schedule for a key.
set-iam-policy
- Set the IAM policy for a key.
set-primary-version
- Set the primary version of a key.
set-rotation-schedule
- Update the rotation schedule for a key.
update
- Update a key.
- NOTES
-
These variants are also available:
gcloud alpha kms keys
gcloud beta kms keys
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-06 UTC.",
"confidential": False
}