File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_tasks_cmek-config_update.1
.TH "GCLOUD_BETA_TASKS_CMEK\-CONFIG_UPDATE" 1
.SH "NAME"
.HP
gcloud beta tasks cmek\-config update \- enable, disable, or edit CMEK configuration for Cloud Tasks in the specified location
.SH "SYNOPSIS"
.HP
\f5gcloud beta 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"
\fB(BETA)\fR Enable, disable, or edit CMEK configuration for Cloud Tasks in the
specified location.
.SH "EXAMPLES"
To update a CMEK config:
.RS 2m
$ gcloud beta 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"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud tasks cmek\-config update
.RE
.RS 2m
$ gcloud alpha tasks cmek\-config update
.RE