Description
The problem/use-case that the feature addresses
Currently the only way to change your own password is by using ACL command
And users without Admin right should not have access to this command
Description of the feature
Add command or some API to allow the user change his password
SETPASS <password>
-
>password
: Adds the specified clear text password as a hashed password in the list of the users passwords. Every user can have many active passwords, so that password rotation will be simpler. The specified password is not stored as clear text inside the server. Example: >mypassword. -
#<hashedpassword>
: Adds the specified hashed password to the list of user passwords. A Redis hashed password is hashed with SHA256 and translated into a hexadecimal string. Example: #c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2. -
<password
: Like >password but removes the password instead of adding it. -
!<hashedpassword>
: Like # but removes the password instead of adding it.