title: How to login to redis-cli without storing password?
body: <p>I've configured redis-server to use password with <code>requirepass</code> option.</p>
  
  <p>When running <code>redis-cli</code> I have two options to gain access to database.</p>
  
  <ol>
  <li>Use <code>redis-cli -a mypassword</code> command. This stores passsword inbash history.
  Every time I run it, I need to delete history entry.</li>
  <li>Use <code>AUTH mypassword</code> inside redis-cli. This option unfortunately saves your password in redis-cli, and you can look it by pressing up arrow even if you login to redis-cli without any authentication. It is literally accessible without any protection.</li>
  </ol>
  
  <p>What is the proper way to authenticate redis-cli?  </p>