[SERVER-22172] Multi-line keyfile - how does mongodb parse it? Created: 13/Jan/16  Updated: 15/Jan/16  Resolved: 13/Jan/16

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

Type: Question Priority: Major - P3
Reporter: Kiril Momchilov Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

If the mongodb keyfile is multi-line, instead of a one-liner, does it concatenate every individual line to compose the key string?
E.g.:
```
line1
line2
line3
```
Will the resulting string be "line1line2line3"?



 Comments   
Comment by Kiril Momchilov [ 15/Jan/16 ]

Thanks Thomas. That's very useful!

Comment by Kelsey Schubert [ 13/Jan/16 ]

Hi momchilov,

Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag.

Additionally, I would recommend reviewing our documentation on Keyfiles

Regards,
Thomas

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