Debian Codegraph @

testdata/initial-dns-seedlist-discovery/replica-set/uri-with-auth.json

raw
1 {
2 "uri": "mongodb+srv://auser:[email protected]/?replicaSet=repl0",
3 "seeds": [
4 "localhost.test.build.10gen.cc:27017",
5 "localhost.test.build.10gen.cc:27018"
6 ],
7 "hosts": [
8 "localhost:27017",
9 "localhost:27018",
10 "localhost:27019"
11 ],
12 "options": {
13 "replicaSet": "repl0",
14 "ssl": true
15 },
16 "parsed_options": {
17 "user": "auser",
18 "password": "apass"
19 },
20 "ping": false,
21 "comment": "Should preserve auth credentials"
22 }