aklivity / zilla-docs

0 stars 10 forks source link

Update Public MSK (Production) docs to use SASL/SCRAM #96

Closed jfallows closed 1 year ago

jfallows commented 1 year ago

We have 3 different how-tos for Zilla Plus (Public MSK Proxy)

The Production (Mutual Trust) how-to illustrates using TLS client certificates for client authentication, but the Production how-to illustrates unauthenticated access via TLS.

Let's modify the Production how-to to use SASL/SCRAM authentication end-to-end via Zilla Plus (Public MSK Proxy) as this is a common use case when the Kafka client is not using TLS client certificates for authentication.

Changes needed include

AmazonMSK_alice secret value (plaintext)

{
  "username": "alice",
  "password": "alice-secret"
}

client.properties

sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="alice" password="alice-secret";
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512