File: //snap/google-cloud-cli/396/help/man/man1/gcloud_dataplex_encryption-config_create.1
.TH "GCLOUD_DATAPLEX_ENCRYPTION\-CONFIG_CREATE" 1
.SH "NAME"
.HP
gcloud dataplex encryption\-config create \- create a Dataplex encryption config resource
.SH "SYNOPSIS"
.HP
\f5gcloud dataplex encryption\-config create\fR (\fIENCRYPTION_CONFIG\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-organization\fR=\fIORGANIZATION\fR) [\fB\-\-key\fR=\fIKEY\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
An EncryptionConfig is created only for CMEK opted in organizations.
.SH "EXAMPLES"
To create an EncryptionConfig \f5default\fR in organization \f5test\-org\-id\fR
at location \f5us\-central1\fR with key \f5test\-key\fR, run:.RS 2m
$ gcloud dataplex encryption\-config create default \e
\-\-location=us\-central1 \-\-organization=test\-org\-id \e
\-\-key='test\-key'
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
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.
.RS 2m
.TP 2m
\fIENCRYPTION_CONFIG\fR
ID of the encryption config or fully qualified identifier for the encryption
config.
To set the \f5encryption_config\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5encryption_config\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location of the Dataplex resource.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5encryption_config\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5dataplex/location\fR.
.RE
.sp
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR
The name of encryption config to use.
To set the \f5organization\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5encryption_config\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-organization\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-key\fR=\fIKEY\fR
The KMS key to use for encryption.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha dataplex encryption\-config create
.RE