Skip to main content

MONGODB-AWS authentication support for PyMongo

Project description


MONGODB-AWS authentication support for PyMongo. See GitHub for the latest source.


Shane Harvey


MONGODB-AWS authentication support for PyMongo. pymongo-auth-aws uses boto3, botocore, and requests.

Support / Feedback

For issues with, questions about, or feedback for pymongo-auth-aws, please look into our support channels. Please do not email any of the pymongo-auth-aws developers directly with issues or questions - you’re more likely to get an answer on the MongoDB Community Forums.

Bugs / Feature Requests

Think you’ve found a bug? Want to see a new feature in pymongo-auth-aws? Please open a case in our issue management tool, JIRA:

Bug reports in JIRA for all driver projects (i.e. PYTHON, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are public.

How To Ask For Help

Issues with, questions about, or feedback for pymongo-auth-aws should be sent to the MongoDB Community Forums.

Please include all of the following information when opening an issue:

  • Detailed steps to reproduce the problem, including full traceback, if possible.

  • The exact python version used, with patch level:

    $ python -c "import sys; print(sys.version)"
  • The exact version of pymongo-auth-aws used:

    $ python -c "import pymongo_auth_aws; print(pymongo_auth_aws.__version__)"
  • The exact version of PyMongo used:

    $ python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())"
  • The operating system and version (e.g. Windows 10, OSX 10.15, …)

  • Web framework or asynchronous network library used, if any, with version (e.g. Django 3.0, mod_wsgi 4.7.1, gevent 20.5.2, Tornado 6.0.4, …)

Security Vulnerabilities

If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.


pymongo-auth-aws can be installed with pip:

$ python -m pip install pymongo-auth-aws
$ python -c "import pymongo_auth_aws; print(pymongo_auth_aws.__version__)"

Installing from source

To install pymongo-auth-aws from source:

$ git clone
$ python -m pip install ./pymongo-auth-aws


pymongo-auth-aws supports CPython 2.7, 3.4+, PyPy, and PyPy3.5+.

pymongo-auth-aws requires botocore and requests.


Install the test dependencies and run the test suite.

$ python -m pip install -e “.[test]” $ python -m unittest discover ./test

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymongo-auth-aws-1.1.0.tar.gz (12.2 kB view hashes)

Uploaded source

Built Distribution

pymongo_auth_aws-1.1.0-py2.py3-none-any.whl (11.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page