MongoDB YAML "Unrecognized option: security"
The error:
Unrecognized option: security.authenticationMechanisms
is because authenticationMechanisms is not part of the "security" configuration.
As per the documentation: http://docs.mongodb.org/manual/reference/configuration-options/#security
However, authenticationMechanisms is an option for "setParameter", as per this documentation:
http://docs.mongodb.org/manual/reference/parameters/#param.authenticationMechanisms
I find the documentation convoluted and confusing, but I've not found anything to contradict this, yet.
So, given the above, I think you should be looking at the following:
security: authorization: enabledsetParameter: authenticationMechanisms: MONGODB-CR storage: dbPath: "F:\MongoData"