Users with SASL + SSL #4408
-
Started to test a strimzi in order to migrate our current kafka deployments to it, and just noticed one thing regarding the listeners / users authentication.
But it seems that with the current resource for the KafkaUser, either the auth is SCRAM or TLS, and by consequence the secret for the user ends up creating or the SCRAM auth or the whole set of certs and keys for the user. Is there any way to use the resource to create a user + secret with both auth modes? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The configuration you have above is basically just TLS encryption and SCRAM-SHA-512 client authentication. So the users do not need any TLS certificates to authenticate. They just need to have a truststore from the Strimzi does not support combining both TLS Client Authentication and SCRAM on the same listener (and I'm not 100% sure if Kafka supports it - but I guess it does if you use it ... out of curiosity, what would be the principal of such user after it connects?). |
Beta Was this translation helpful? Give feedback.
The configuration you have above is basically just TLS encryption and SCRAM-SHA-512 client authentication. So the users do not need any TLS certificates to authenticate. They just need to have a truststore from the
<cluster-name>-cluster-ca-cert
secret and the SCRAM-SHA-512 username and password from the user secret.Strimzi does not support combining both TLS Client Authentication and SCRAM on the same listener (and I'm not 100% sure if Kafka supports it - but I guess it does if you use it ... out of curiosity, what would be the principal of such user after it connects?).