mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
70 lines
2.4 KiB
Text
70 lines
2.4 KiB
Text
NAME
|
|
gcloud netapp kms-configs encrypt - encrypt all existing volumes and
|
|
storage pools in the same region with the desired Cloud NetApp Volumes
|
|
KMS Config
|
|
|
|
SYNOPSIS
|
|
gcloud netapp kms-configs encrypt (KMS_CONFIG : --location=LOCATION)
|
|
[--async] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Encrypt the existing volumes with the desired KMS (Key Management System)
|
|
Config using Customer Managed Encryption Keys (CMEK).
|
|
|
|
EXAMPLES
|
|
The following command encrypts the existing volumes with the desired KMS
|
|
Config instance named KMS_CONFIG using specified project and location.
|
|
|
|
$ gcloud netapp kms-configs encrypt KMS_CONFIG --location=us-central1
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Kms config resource - The KMS Config used to encrypt The arguments in this
|
|
group can be used to specify the attributes of this resource. (NOTE) Some
|
|
attributes are not given arguments in this group but can be set in other
|
|
ways.
|
|
|
|
To set the project attribute:
|
|
◆ provide the argument kms_config on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
KMS_CONFIG
|
|
ID of the kms_config or fully qualified identifier for the
|
|
kms_config.
|
|
|
|
To set the kms_config attribute:
|
|
▸ provide the argument kms_config on the command line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
The location of the kms_config.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument kms_config on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property netapp/location.
|
|
|
|
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 variant is also available:
|
|
|
|
$ gcloud beta netapp kms-configs encrypt
|
|
|