For security reasons, is there any way to hide the plaintext password in Redis configuration files, such as requirepass and masterauth

Comment From: ShooterIT

I think maybe you can use ACL instead of the plaintext password

Comment From: tentosleep

ACL is a good way,but actually,I have already used this configuration.However, even if you use ACL configuration, you cannot leave 'requirepass' blank. Besides, even though you can comment out' requirepass', how can we solve the plaintext configuration of 'masterauth' in master-slave mode. All in all, that's the issue that bothers me.

Comment From: ShooterIT

how can we solve the plaintext configuration of 'masterauth' in master-slave mode.

Oh, currently we must use plaintext since replica need use plaintext password when connecting master, just like normal clients