...

Text file src/go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set/uri-with-auth.json

Documentation: go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set

     1{
     2  "uri": "mongodb+srv://auser:apass@test1.test.build.10gen.cc/?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}

View as plain text