ClusterTlsConfig constructor
const
ClusterTlsConfig({
- Input<
String?> ? sslPrincipalMappingRules, - Input<
ClusterTlsConfigTrustConfig?> ? trustConfig,
Creates a new ClusterTlsConfig.
sslPrincipalMappingRules The rules for mapping mTLS certificate Distinguished Names (DNs) to shortened principal names for Kafka ACLs. This field corresponds exactly to the ssl.principal.mapping.rules broker config and matches the format and syntax defined in the Apache Kafka documentation. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means that the default Kafka behavior is used. Example: RULE:^CN=(.?),OU=ServiceUsers.$/$1@example.com/,DEFAULT
trustConfig The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
Implementation
const ClusterTlsConfig({
this.sslPrincipalMappingRules,
this.trustConfig,
});