Skip to content

Commit 2b30020

Browse files
author
David James
committed
keyFile parameter requires the capital "F"
1 parent efc5a53 commit 2b30020

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/administration/configuration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ following option:
172172

173173
.. code-block:: cfg
174174

175-
keyfile = /srv/mongodb/keyfile
175+
keyFile = /srv/mongodb/keyfile
176176

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

source/administration/replica-sets.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,12 @@ add the following option to your configuration file.
482482

483483
.. code-block:: cfg
484484

485-
keyfile = /srv/mongodb/keyfile
485+
keyFile = /srv/mongodb/keyfile
486486

487487
.. note::
488488

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

493493
Setting :setting:`keyFile` enables authentication and specifies a key

0 commit comments

Comments
 (0)