title: Redis AUTH command in Python
body: <p>I'm using <a href="https://github.com/andymccurdy/redis-py" rel="noreferrer">redis-py</a> binding in Python 2 to connect to my Redis server. The server requires a password. I don't know how to <code>AUTH</code> after making the connection in Python.</p>
  
  <p>The following code does not work:</p>
  
  <pre><code>import redis
  r = redis.StrictRedis()
  r.auth('pass')
  </code></pre>
  
  <p>It says:</p>
  
  <blockquote>
    <p>'StrictRedis' object has no attribute 'auth'</p>
  </blockquote>
  
  <p>Also,</p>
  
  <pre><code>r = redis.StrictRedis(auth='pass')
  </code></pre>
  
  <p>does not work either. No such keyword argument.</p>
  
  <p>I've used Redis binding in other languages before, and usually the method name coincides with the Redis command. So I would guess <code>r.auth</code> will send <code>AUTH</code>, but unfortunately it does not have this method.</p>
  
  <p>So what is the standard way of <code>AUTH</code>? Also, why call this <code>StrictRedis</code>? What does <code>Strict</code> mean here?</p>