summaryrefslogtreecommitdiff
path: root/kafka/admin/client.py
diff options
context:
space:
mode:
authorSwen Wenzel <5111028+swenzel@users.noreply.github.com>2019-12-30 00:12:30 +0100
committerDana Powers <dana.powers@gmail.com>2019-12-29 15:12:30 -0800
commitee1c4a42ef3c7f0aa7c98f0c48b6ab0ae76d77da (patch)
treee536d4854bf88b0d24b7b2a2f5ee3d731eda9716 /kafka/admin/client.py
parent31f846c782b9dc6f2107340d269a7558e99bdfe2 (diff)
downloadkafka-python-ee1c4a42ef3c7f0aa7c98f0c48b6ab0ae76d77da.tar.gz
Enable SCRAM-SHA-256 and SCRAM-SHA-512 for sasl (#1918)
Diffstat (limited to 'kafka/admin/client.py')
-rw-r--r--kafka/admin/client.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/kafka/admin/client.py b/kafka/admin/client.py
index 4e4e842..8afe95b 100644
--- a/kafka/admin/client.py
+++ b/kafka/admin/client.py
@@ -131,11 +131,11 @@ class KafkaAdminClient(object):
metric_group_prefix (str): Prefix for metric names. Default: ''
sasl_mechanism (str): Authentication mechanism when security_protocol
is configured for SASL_PLAINTEXT or SASL_SSL. Valid values are:
- PLAIN, GSSAPI, OAUTHBEARER.
- sasl_plain_username (str): username for sasl PLAIN authentication.
- Required if sasl_mechanism is PLAIN.
- sasl_plain_password (str): password for sasl PLAIN authentication.
- Required if sasl_mechanism is PLAIN.
+ PLAIN, GSSAPI, OAUTHBEARER, SCRAM-SHA-256, SCRAM-SHA-512.
+ sasl_plain_username (str): username for sasl PLAIN and SCRAM authentication.
+ Required if sasl_mechanism is PLAIN or one of the SCRAM mechanisms.
+ sasl_plain_password (str): password for sasl PLAIN and SCRAM authentication.
+ Required if sasl_mechanism is PLAIN or one of the SCRAM mechanisms.
sasl_kerberos_service_name (str): Service name to include in GSSAPI
sasl mechanism handshake. Default: 'kafka'
sasl_kerberos_domain_name (str): kerberos domain name to use in GSSAPI