#[non_exhaustive]pub struct UserManagedKeysConfig {
pub cluster_ca: String,
pub etcd_api_ca: String,
pub etcd_peer_ca: String,
pub service_account_signing_keys: Vec<String>,
pub service_account_verification_keys: Vec<String>,
pub aggregation_ca: String,
pub control_plane_disk_encryption_key: String,
pub gkeops_etcd_backup_encryption_key: String,
}Expand description
UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and token that are used for communication within cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cluster_ca: StringThe Certificate Authority Service caPool to use for the cluster CA in this cluster.
etcd_api_ca: StringResource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.
etcd_peer_ca: StringResource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster.
service_account_signing_keys: Vec<String>The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster.
Format:
projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}
service_account_verification_keys: Vec<String>The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster.
Format:
projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}
aggregation_ca: StringThe Certificate Authority Service caPool to use for the aggregation CA in this cluster.
control_plane_disk_encryption_key: StringThe Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.
gkeops_etcd_backup_encryption_key: StringResource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.
Implementations§
Source§impl UserManagedKeysConfig
impl UserManagedKeysConfig
Sourcepub fn set_cluster_ca<T: Into<String>>(self, v: T) -> Self
pub fn set_cluster_ca<T: Into<String>>(self, v: T) -> Self
Sets the value of cluster_ca.
Sourcepub fn set_etcd_api_ca<T: Into<String>>(self, v: T) -> Self
pub fn set_etcd_api_ca<T: Into<String>>(self, v: T) -> Self
Sets the value of etcd_api_ca.
Sourcepub fn set_etcd_peer_ca<T: Into<String>>(self, v: T) -> Self
pub fn set_etcd_peer_ca<T: Into<String>>(self, v: T) -> Self
Sets the value of etcd_peer_ca.
Sourcepub fn set_aggregation_ca<T: Into<String>>(self, v: T) -> Self
pub fn set_aggregation_ca<T: Into<String>>(self, v: T) -> Self
Sets the value of aggregation_ca.
Sourcepub fn set_control_plane_disk_encryption_key<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_control_plane_disk_encryption_key<T: Into<String>>( self, v: T, ) -> Self
Sets the value of control_plane_disk_encryption_key.
Sourcepub fn set_gkeops_etcd_backup_encryption_key<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_gkeops_etcd_backup_encryption_key<T: Into<String>>( self, v: T, ) -> Self
Sets the value of gkeops_etcd_backup_encryption_key.
Sourcepub fn set_service_account_signing_keys<T, V>(self, v: T) -> Self
pub fn set_service_account_signing_keys<T, V>(self, v: T) -> Self
Sets the value of service_account_signing_keys.
Sourcepub fn set_service_account_verification_keys<T, V>(self, v: T) -> Self
pub fn set_service_account_verification_keys<T, V>(self, v: T) -> Self
Sets the value of service_account_verification_keys.
Trait Implementations§
Source§impl Clone for UserManagedKeysConfig
impl Clone for UserManagedKeysConfig
Source§fn clone(&self) -> UserManagedKeysConfig
fn clone(&self) -> UserManagedKeysConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more