gcloud dataplex encryption-config create

NAME
gcloud dataplex encryption-config create - create a Dataplex encryption config resource
SYNOPSIS
gcloud dataplex encryption-config create (ENCRYPTION_CONFIG : --location=LOCATION --organization=ORGANIZATION) [--key=KEY] [GCLOUD_WIDE_FLAG]
DESCRIPTION
An EncryptionConfig is created only for CMEK opted in organizations.
EXAMPLES
To create an EncryptionConfig default in organization test-org-id at location us-central1 with key test-key, run:
gcloud dataplex encryption-config create default --location=us-central1 --organization=test-org-id --key='test-key'
POSITIONAL ARGUMENTS
Encryption config resource - Arguments and flags that define the Dataplex EncryptionConfig you want to create. The arguments in this group can be used to specify the attributes of this resource.

This must be specified.

ENCRYPTION_CONFIG
ID of the encryption config or fully qualified identifier for the encryption config.

To set the encryption_config attribute:

  • provide the argument encryption_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 Dataplex resource.

To set the location attribute:

  • provide the argument encryption_config on the command line with a fully specified name;
  • provide the argument --location on the command line;
  • set the property dataplex/location.
--organization=ORGANIZATION
The name of encryption config to use.

To set the organization attribute:

  • provide the argument encryption_config on the command line with a fully specified name;
  • provide the argument --organization on the command line.
FLAGS
--key=KEY
The KMS key to use for encryption.
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 alpha dataplex encryption-config create