gcloud kms ekm-connections update - update an ekmconnection
gcloud kms ekm-connections update (EKM_CONNECTION : --location=LOCATION) [--endpoint-filter=ENDPOINT_FILTER] [--hostname=HOSTNAME] [--server-certificates-files=[SERVER_CERTIFICATES,...]] [--service-directory-service=SERVICE_DIRECTORY_SERVICE] [GCLOUD_WIDE_FLAG ...]
gcloud kms ekm-connections update can be used to update the ekmconnection. Updates can be made to the ekmconnection's service resolver's fields.
The following command updates an ekm-connection named laplace service resolver's hostname within location us-east1:
$ gcloud kms ekm-connections update laplace --location=us-east1 \ --hostname=newhostname.foo \
The following command updates an ekm-connection named laplace service resolver's service_directory_service, endpoint_filter, hostname, and server_certificates within location us-east1:
$ gcloud kms ekm-connections update laplace --location=us-east1 \ --service-directory-service="foo" \ --endpoint-filter="foo > bar" --hostname="newhostname.foo" \ --server-certificates-files=foo.pem,bar.pem
- Ekmconnection resource - The KMS ekm connection resource. 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 ekm_connection on the command line with a fully specified name;
- —
set the property core/project.
This must be specified.
- EKM_CONNECTION
ID of the ekmconnection or fully qualified identifier for the ekmconnection. To set the ekmconnection attribute:
provide the argument ekm_connection on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --location=LOCATION
The Cloud location for the ekmconnection. To set the location attribute:
provide the argument ekm_connection on the command line with a fully specified name;
provide the argument --location on the command line.
- --endpoint-filter=ENDPOINT_FILTER
The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered.
- --hostname=HOSTNAME
The hostname of the EKM replica used at TLS and HTTP layers.
- --server-certificates-files=[SERVER_CERTIFICATES,...]
A list of filenames of leaf server certificates used to authenticate HTTPS connections to the EKM replica in PEM format. If files are not in PEM, the assumed format will be DER.
- --service-directory-service=SERVICE_DIRECTORY_SERVICE
The resource name of the Service Directory service pointing to an EKM replica.
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.
These variants are also available:
$ gcloud alpha kms ekm-connections update
$ gcloud beta kms ekm-connections update