File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_sql_instances_reencrypt.1
.TH "GCLOUD_ALPHA_SQL_INSTANCES_REENCRYPT" 1
.SH "NAME"
.HP
gcloud alpha sql instances reencrypt \- reencrypts a Cloud SQL CMEK instance
.SH "SYNOPSIS"
.HP
\f5gcloud alpha sql instances reencrypt\fR \fIINSTANCE\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR 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 alpha 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"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:
.RS 2m
$ gcloud sql instances reencrypt
.RE
.RS 2m
$ gcloud beta sql instances reencrypt
.RE