feat: add user specific redis auth (#19285)

This commit is contained in:
jiuker
2024-03-19 12:37:54 +08:00
committed by GitHub
parent 7213bd7131
commit d7fb6fddf6
4 changed files with 32 additions and 3 deletions

View File

@@ -250,6 +250,10 @@ func SetNotifyRedis(s config.Config, redisName string, cfg target.RedisArgs) err
Key: target.RedisPassword,
Value: cfg.Password,
},
config.KV{
Key: target.RedisUser,
Value: cfg.User,
},
config.KV{
Key: target.RedisKey,
Value: cfg.Key,