gcloud beta netapp kms-configs create

NAME
gcloud beta netapp kms-configs create - create a Cloud NetApp Volumes KMS Config
SYNOPSIS
gcloud beta netapp kms-configs create (KMS_CONFIG : --location=LOCATION) (--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING --kms-location=KMS_LOCATION --kms-project=KMS_PROJECT) [--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Creates a KMS (Key Management System) Config to encrypt Cloud NetApp Volumes, Storage Pools etc. using Customer Managed Encryption Keys (CMEK)
EXAMPLES
The following command creates a KMS Config instance named KMS_CONFIG using specified project, location, Key Ring and Crypto Key
gcloud beta netapp kms-configs create KMS_CONFIG --location=us-central1 --kms-location=northamerica-northeast1 --kms-project=kms-project1 --kms-keyring=kms-keyring21 --kms-key=crypto-key1
POSITIONAL ARGUMENTS
Kms config resource - The KMS Config to create 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.
REQUIRED FLAGS
Kms key resource - The Cloud KMS (Key Management Service) Crypto Key that will be used The arguments in this group can be used to specify the attributes of this resource.

This must be specified.

--kms-key=KMS_KEY
ID of the kms_key or fully qualified identifier for the kms_key.

To set the kms-key attribute:

  • provide the argument --kms-key on the command line.

This flag argument must be specified if any of the other arguments in this group are specified.

--kms-keyring=KMS_KEYRING
The KMS keyring of the kms_key

To set the kms-keyring attribute:

  • provide the argument --kms-key on the command line with a fully specified name;
  • provide the argument --kms-keyring on the command line.
--kms-location=KMS_LOCATION
The Cloud location for the kms_key.

To set the kms-location attribute:

  • provide the argument --kms-key on the command line with a fully specified name;
  • provide the argument --kms-location on the command line;
  • provide the argument --location on the command line;
  • set the property netapp/location.
--kms-project=KMS_PROJECT
The Cloud project for the kms_key.

To set the kms-project attribute:

  • provide the argument --kms-key on the command line with a fully specified name;
  • provide the argument --kms-project on the command line;
  • set the property core/project.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
A description of the Cloud NetApp KMS Config
--labels=[KEY=VALUE,…]
List of label KEY=VALUE pairs to add.

Keys must start with a lowercase character and contain only hyphens (-), underscores (_), lowercase characters, and numbers. Values must contain only hyphens (-), underscores (_), lowercase characters, and numbers.

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 beta and might change without notice. This variant is also available:
gcloud netapp kms-configs create