HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_tasks_cmek-config_update.1
.TH "GCLOUD_TASKS_CMEK\-CONFIG_UPDATE" 1



.SH "NAME"
.HP
gcloud tasks cmek\-config update \- enable, disable, or edit CMEK configuration for Cloud Tasks in the specified location



.SH "SYNOPSIS"
.HP
\f5gcloud tasks cmek\-config update\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fB\-\-clear\-kms\-key\fR\ |\ [\fB\-\-kms\-key\-name\fR=\fIKMS_KEY_NAME\fR\ :\ \fB\-\-kms\-keyring\fR=\fIKMS_KEYRING\fR\ \fB\-\-kms\-project\fR=\fIKMS_PROJECT\fR]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Enable, disable, or edit CMEK configuration for Cloud Tasks in the specified
location.



.SH "EXAMPLES"

To update a CMEK config:

.RS 2m
$ gcloud tasks cmek\-config update \e
  \-\-kms\-key\-name=projects/my\-project/locations/my\-location/\e
keyRings/my\-keyring/cryptoKeys/key
.RE



.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR

Google Cloud location for the KMS key.

.TP 2m

Flags for Clearing or Updating CMEK Resource

At most one of these can be specified:


.RS 2m
.TP 2m

Flags for clearing CMEK Resource key.


.RS 2m
.TP 2m
\fB\-\-clear\-kms\-key\fR

Disables CMEK for Cloud Tasks in the specified location by clearing the Cloud
KMS cryptokey from the Cloud Tasks project and CMEK configuration.

.RE
.sp
.TP 2m

Flags for Updating CMEK Resource key


.RS 2m
.TP 2m
\fB\-\-kms\-key\-name\fR=\fIKMS_KEY_NAME\fR

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.

.TP 2m
\fB\-\-kms\-keyring\fR=\fIKMS_KEYRING\fR

KMS keyring of the KMS key.

.TP 2m
\fB\-\-kms\-project\fR=\fIKMS_PROJECT\fR

Google Cloud project for the KMS key.


.RE
.RE
.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha tasks cmek\-config update
.RE

.RS 2m
$ gcloud beta tasks cmek\-config update
.RE