With version 6+, redis provides username/password as a way of authentication. With redis-cli after logging in, i can use:
$ redis-cli
redis-cli-prompt> auth user pass
But I couldn't not find API/tool which is giving the option of passing username and password.
Requesting community to help if you are aware of this and share the details of how to use ACL (user/pass) to access redis using API.