[SERVER-12892] Allow auth options to be set in YAML config without "setParameter" Created: 25/Feb/14  Updated: 14/Jul/17  Resolved: 14/Jul/17

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Shaun Verch Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Some of the auth options should be allowed on their own without having to use "setParameter": https://github.com/mongodb/mongo/blob/master/src/mongo/db/mongod_options.cpp#L476

These are the relevant options:

security.authenticationMechanisms
security.enableLocalhostAuthBypass



 Comments   
Comment by Shaun Verch [ 25/Feb/14 ]

These options were decided as part of https://jira.mongodb.org/browse/SERVER-11144, but did not make it in with that ticket since there was no existing equivalent on the command line or in the legacy config file.

Generated at Thu Feb 08 03:29:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.