1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-18 04:40:03 +02:00

cmd/tools/redis-acl.go: adding flag for password length.

This commit is contained in:
Henrik Hautakoski 2024-03-14 00:26:17 +01:00
parent 72b4f0a327
commit bf97f2e97a
2 changed files with 9 additions and 8 deletions

View file

@ -47,6 +47,7 @@ func init() {
RedisACLCmd.Flags().String("prefix", "ship", "Redis key prefix")
RedisACLCmd.Flags().Bool("cleartext", false, "If passwords should be hashed or left in cleartext.")
RedisACLCmd.Flags().String("file", "", "Where the config should be written to (default: standard out)")
RedisACLCmd.Flags().Uint("pass-len", 32, "The length of generated passwords")
rootCmd.AddCommand(
validateCmd,