-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Description
Want redis-cli to be able to connect as non-default user with AUTH.
Currently there is no way to do this using the -a and -u methods for redis-cli. Ideally, I would like to connect using either method.
Current usage (from website):
redis-cli -a myUnguessablePazzzzzword123 ping
redis-cli -u redis://p%[email protected]:16379/0 ping
Proposed usage:
redis-cli -a acl_username:myUnguessablePazzzzzword123 ping
redis-cli -u redis://acl_username:p%[email protected]:16379/0 ping
I'd would also be okay if an entirely new option was purposed for this functionality, if it's deemed too kludgy to implement the above suggestions, say like a '-U' argument.
Note: I'm aware that you can connect, then auth for a non-default users, but it makes writing shell scripts and ansible playbooks more challenging without the requested functionality.