# Using a x509 certificate user as the login user not supported in mongodb\_user module?

**URL:** <https://forum.ansible.com/t/using-a-x509-certificate-user-as-the-login-user-not-supported-in-mongodb-user-module/25851>\
**Category:** Ansible Project\
**Created:** [October 27, 2017, 8:19pm UTC](https://forum.ansible.com/t/using-a-x509-certificate-user-as-the-login-user-not-supported-in-mongodb-user-module/25851 "2017-10-27T20:19:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dariusquach](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@dariusquach](https://forum.ansible.com/u/dariusquach)\
**Post date:** [October 27, 2017, 8:19pm UTC](https://forum.ansible.com/t/using-a-x509-certificate-user-as-the-login-user-not-supported-in-mongodb-user-module/25851/1 "2017-10-27T20:19:14Z")

</div>

Ansible community,

Does anyone know if the mongodb\_user supports the use of a x509 certificate based user? Looking at the given options, there doesn’t look like an option to specify an CA file or a key file even though the mongo python driver seems to support x509 based authentication.

Is this module only designed to allow password based users to manage other password based users?

| |
| | |
| | |
| | |
| |
