File: //snap/google-cloud-cli/394/help/man/man1/gcloud_sql_instances_reencrypt.1
.TH "GCLOUD_SQL_INSTANCES_REENCRYPT" 1
.SH "NAME"
.HP
gcloud sql instances reencrypt \- reencrypts a Cloud SQL CMEK instance
.SH "SYNOPSIS"
.HP
\f5gcloud sql instances reencrypt\fR \fIINSTANCE\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Reencrypt a Cloud SQL CMEK instance with the primary key version.
.SH "EXAMPLES"
To reencrypt a Cloud SQL CMEK instance with the primary key version:
.RS 2m
$ gcloud sql instances reencrypt instance\-foo
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIINSTANCE\fR
Cloud SQL instance ID.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.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 sql instances reencrypt
.RE
.RS 2m
$ gcloud beta sql instances reencrypt
.RE