Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/administration/configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ following option:

.. code-block:: cfg

keyfile = /srv/mongodb/keyfile
keyFile = /srv/mongodb/keyfile

.. versionadded:: 1.8 for replica sets, and 1.9.1 for sharded replica sets.

Expand Down
4 changes: 2 additions & 2 deletions source/administration/replica-sets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,12 @@ add the following option to your configuration file.

.. code-block:: cfg

keyfile = /srv/mongodb/keyfile
keyFile = /srv/mongodb/keyfile

.. note::

You may chose to set these run-time configuration options using the
:option:`--keyfile <mongod --keyFile>` (or :option:`mongos --keyFile`)
:option:`--keyFile <mongod --keyFile>` (or :option:`mongos --keyFile`)
options on the command line.

Setting :setting:`keyFile` enables authentication and specifies a key
Expand Down