Skip to content

Commit

Permalink
Update example kafka cluster with SASL/OAUTHBEARER configurations (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
panyuenlau authored Jun 21, 2022
1 parent 43ce467 commit d9f55ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/samples/simplekafkacluster_with_sasl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ spec:
cruise.control.metrics.topic.num.partitions=1
cruise.control.metrics.topic.replication.factor=2
sasl.enabled.mechanisms=OAUTHBEARER
listener.name.external.oauthbearer.sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required unsecuredLoginStringClaim_sub="admin";
# OAuth issuer token endpoint URL
sasl.oauthbearer.token.endpoint.url=https://myidp.example.com/oauth2/default/v1/token
# OAuth issuer's JWK Set endpoint URL from which to retrieve the set of JWKs managed by the provider; this can be a file://-based URL that points to a broker file system-accessible file-based copy of the JWKS data.
sasl.oauthbearer.jwks.endpoint.url=https://myidp.example.com/oauth2/default/v1/keys
listener.name.external.oauthbearer.sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required \
clientSecret="<client-secret>" \
clientId="oauth-client-id";
brokerConfigGroups:
default:
# podSecurityContext:
Expand Down

0 comments on commit d9f55ed

Please sign in to comment.