Debian Codegraph @

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

raw
1 uri: "mongodb+srv://auser:[email protected]/?replicaSet=repl0"
2 seeds:
3 - localhost.test.build.10gen.cc:27017
4 - localhost.test.build.10gen.cc:27018
5 hosts:
6 - localhost:27017
7 - localhost:27018
8 - localhost:27019
9 options:
10 replicaSet: repl0
11 ssl: true
12 parsed_options:
13 user: auser
14 password: apass
15 # Don't run a ping for URIs that include userinfo. Ping doesn't require authentication, so missing
16 # userinfo isn't a problem, but some drivers will fail handshake on a connection if userinfo is
17 # provided but incorrect.
18 ping: false
19 comment: Should preserve auth credentials