TlsConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The TLS configuration for the Kafka cluster.
Attributes |
|
---|---|
Name | Description |
trust_config |
google.cloud.managedkafka_v1.types.TrustConfig
Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication. |
ssl_principal_mapping_rules |
str
Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for ssl.principal.mapping.rules for the precise formatting
details and syntax. Example:
"RULE:^CN=(.*?),OU=ServiceUsers.*\ $/$1@example.com/,DEFAULT"
This is a static Kafka broker configuration. Setting or
modifying this field will trigger a rolling restart of the
Kafka brokers to apply the change. An empty string means no
rules are applied (Kafka default).
|