gcloud alpha dataplex encryption-config create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha dataplex encryption-config create - create a Dataplex encryption config resource
- SYNOPSIS
gcloud alpha dataplex encryption-config create(ENCRYPTION_CONFIG:--location=LOCATION--organization=ORGANIZATION)[--key=KEY][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)An EncryptionConfig is created only for CMEK opted inorganizations.- EXAMPLES
- To create an EncryptionConfig
defaultin organizationtest-org-idat locationus-central1with keytest-key, run:gcloudalphadataplexencryption-configcreatedefault--location=us-central1--organization=test-org-id--key='test-key' - POSITIONAL ARGUMENTS
- Encryption config resource - Arguments and flags that define the DataplexEncryptionConfig you want to create. The arguments in this group can be used tospecify the attributes of this resource.
This must be specified.
ENCRYPTION_CONFIG- ID of the encryption config or fully qualified identifier for the encryptionconfig.
To set the
encryption_configattribute:- provide the argument
encryption_configon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the Dataplex resource.
To set the
locationattribute:- provide the argument
encryption_configon the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
dataplex/location.
- provide the argument
--organization=ORGANIZATION- The name of encryption config to use.
To set the
organizationattribute:- provide the argument
encryption_configon the command line with afully specified name; - provide the argument
--organizationon the command line.
- provide the argument
- Encryption config resource - Arguments and flags that define the DataplexEncryptionConfig you want to create. The arguments in this group can be used tospecify the attributes of this resource.
- 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 helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gclouddataplexencryption-configcreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-13 UTC.