public sealed class TlsConfig : IMessage<TlsConfig>, IEquatable<TlsConfig>, IDeepCloneable<TlsConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class TlsConfig.
The TLS configuration for the Kafka cluster.
Implements
IMessageTlsConfig, IEquatableTlsConfig, IDeepCloneableTlsConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
TlsConfig()
public TlsConfig()
TlsConfig(TlsConfig)
public TlsConfig(TlsConfig other)
Parameter | |
---|---|
Name | Description |
other |
TlsConfig |
Properties
SslPrincipalMappingRules
public string SslPrincipalMappingRules { get; set; }
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).
Property Value | |
---|---|
Type | Description |
string |
TrustConfig
public TrustConfig TrustConfig { get; set; }
Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
Property Value | |
---|---|
Type | Description |
TrustConfig |