1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/sql/instances/reencrypt
2023-08-09 11:23:49 +00:00

42 lines
1.3 KiB
Text

NAME
gcloud alpha sql instances reencrypt - reencrypts a Cloud SQL CMEK instance
SYNOPSIS
gcloud alpha sql instances reencrypt INSTANCE [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Reencrypt a Cloud SQL CMEK instance with the primary key version.
EXAMPLES
To reencrypt a Cloud SQL CMEK instance with the primary key version:
$ gcloud alpha sql instances reencrypt instance-foo
POSITIONAL ARGUMENTS
INSTANCE
Cloud SQL instance ID.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 help for details.
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:
$ gcloud sql instances reencrypt
$ gcloud beta sql instances reencrypt