Description
http://api.mongodb.com/python/current/examples/authentication.html#scram-sha-1-rfc-5802
>>> from pymongo import MongoClient |
>>> client = MongoClient('example.com', |
... user='user', |
... password='password', |
... authSource='the_database', |
... authMechanism='SCRAM-SHA-1') |
The examples about authentication has wrong keywords. The keyword should be username rather than user.
Attachments
Issue Links
- is duplicated by
-
PYTHON-1429 Keyword argument 'user' should say 'username' in Pymongo authentication
-
- Closed
-