[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to do Mongo Auth ?

Hi Kavita--
I can see that you were having a discussion about this with Brenton last week:


So it seems like you may need some guidance on what the mongo auth config file should contain.

Here's an example of the file:

In your MongoDB system located at MONGO_HOST_PORT, you need to tell us which mongo user to log in as (MONGO_USER, MONGO_PASSWORD) and then which specific database you want OpenShift to use for auth records (MONGO_DB).

You can test that your setup is correct by trying to manually run the following from your broker:


Assuming you are able to connect, verify the datastore with:


The openshift-origin-auth-mongo.conf file that you create should live at /var/www/httpd/conf.d/ and there should be no other auth conf files there.

You can see more info in the docs here:


Hope this helps!

On 12/15/2014 04:17 AM, Kavita Kawale wrote:

Is anybody can tell me steps to do mongo authentication ?

I want to do mongo authentication instead of LDAP or Basic.


dev mailing list
dev lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]