diff --git a/model/clusters_mgmt/v1/cluster_type.model b/model/clusters_mgmt/v1/cluster_type.model index f2bc1ca0..b9c903f9 100644 --- a/model/clusters_mgmt/v1/cluster_type.model +++ b/model/clusters_mgmt/v1/cluster_type.model @@ -111,6 +111,9 @@ class Cluster { // GCP Network. GCPNetwork GCPNetwork + // Key used for encryption of GCP cluster nodes. + GCPEncryptionKey GCPEncryptionKey + // Date and time when the cluster was initially created, using the // format defined in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt). CreationTimestamp Date diff --git a/model/clusters_mgmt/v1/gcp_encryption_key_type.model b/model/clusters_mgmt/v1/gcp_encryption_key_type.model new file mode 100644 index 00000000..b820f25b --- /dev/null +++ b/model/clusters_mgmt/v1/gcp_encryption_key_type.model @@ -0,0 +1,27 @@ +/* +Copyright (c) 2021 Red Hat, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// GCP Encryption Key for CCS clusters. +struct GCPEncryptionKey { + // Name of the encryption key + KeyName String + // Name of the key ring the encryption key is located on + KeyRing String + // Location of the encryption key ring + KeyLocation String + // Service account used to access the KMS key + KMSKeyServiceAccount String +}