- NAME
-
- gcloud scheduler cmek-config update - update CMEK configuration for Cloud Scheduler in the specified location
- SYNOPSIS
-
-
gcloud scheduler cmek-config update[--location=LOCATION] [--clear-kms-key| [--kms-key-name=KMS_KEY_NAME:--kms-keyring=KMS_KEYRING--kms-project=KMS_PROJECT]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Update CMEK configuration for Cloud Scheduler in the specified location.
- EXAMPLES
- To update a CMEK config:
gcloud scheduler cmek-config update --location = my-location --kms-project = new-kms-project --kms-keyring = kms-keyring2 --kms-key-name = crypto-key2 - FLAGS
-
-
--location=LOCATION - Google Cloud location for the KMS key.
- Flags for Clearing or Updating CMEK Resource
At most one of these can be specified:
- Flags for clearing CMEK Resource key.
-
--clear-kms-key - Disables CMEK for Cloud Scheduler in the specified location by clearing the Cloud KMS cryptokey from the Cloud Scheduler project and CMEK configuration.
- Flags for Updating CMEK Resource key
-
--kms-key-name=KMS_KEY_NAME - Fully qualified identifier for the key or just the key ID. The latter requires
that the --kms-keyring and --kms-project flags be provided too.
This flag argument must be specified if any of the other arguments in this group are specified.
-
--kms-keyring=KMS_KEYRING - KMS keyring of the KMS key.
-
--kms-project=KMS_PROJECT - Google Cloud project for the KMS key.
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details.
gcloud scheduler cmek-config update
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 2026-05-27 UTC.

