summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/connection-string/valid-options.yml
blob: e1b94039c85fef38834be84b5397663819e8bc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
tests:
    -
        description: "Option names are normalized to lowercase"
        uri: "mongodb://alice:secret@example.com/admin?AUTHMechanism=MONGODB-CR"
        valid: true
        warning: false
        hosts:
            -
                type: "hostname"
                host: "example.com"
                port: ~
        auth:
            username: "alice"
            password: "secret"
            db: "admin"
        options:
            authmechanism: "MONGODB-CR"