I am using XF2 and have the following in my config.php
$config['cache']['enabled'] = true; $config['cache']['provider'] = 'Redis'; $config['cache']['config'] = [ 'host' => '127.0.0.1', 'password' => 'password' ];
With of course the password in place.
And no I haven’t confirmed via redis-cli will look into that further.