mirror of https://github.com/apache/kafka.git
KAFKA-15114: Update StorageTool help for creating SCRAM credentials to specify name instead of user. (#13904)
The choice of using name vs. user as a parameter is because internally the record uses name, all tests using the StorageTool use name as a parameter, KafkaPrincipals are created with name and because creating SCRAM credentials is done with --entity-name Reviewers: Colin P. McCabe <cmccabe@apache.org>
This commit is contained in:
parent
30b087ead9
commit
586f89cb1c
|
@ -119,8 +119,8 @@ object StorageTool extends Logging {
|
|||
formatParser.addArgument("--add-scram", "-S").
|
||||
action(append()).
|
||||
help("""A SCRAM_CREDENTIAL to add to the __cluster_metadata log e.g.
|
||||
|'SCRAM-SHA-256=[user=alice,password=alice-secret]'
|
||||
|'SCRAM-SHA-512=[user=alice,iterations=8192,salt="N3E=",saltedpassword="YCE="]'""".stripMargin)
|
||||
|'SCRAM-SHA-256=[name=alice,password=alice-secret]'
|
||||
|'SCRAM-SHA-512=[name=alice,iterations=8192,salt="N3E=",saltedpassword="YCE="]'""".stripMargin)
|
||||
formatParser.addArgument("--ignore-formatted", "-g").
|
||||
action(storeTrue())
|
||||
formatParser.addArgument("--release-version", "-r").
|
||||
|
|
Loading…
Reference in New Issue