Actions
Story #1602
closedAdd delegatedAuthentication for mongo
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Mongo supports setting up users in one database, for control of another, and my dba decided to do this.
To connect from CLI I have to add --authenticationDatabase admin to my connection scheme.
Currently in pulp, you may only authenticate against the database name provided in /etc/pulp/server.conf. It would be great if there was an optional setting for # authDatabase:
It appears pymongo allows this with the uri string method. http://api.mongodb.org/python/current/examples/authentication.html#delegated-authentication
?authSource=source_database, if not specified it defaults to the databasename
https://docs.mongodb.org/manual/reference/connection-string/#authentication-options
Let me know if this needs any more details.
Actions