Debian Codegraph @

testdata/uri-options/auth-options.yml

raw
1 tests:
2 -
3 description: "Valid auth options are parsed correctly (GSSAPI)"
4 uri: "mongodb://foo:[email protected]/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true&authSource=$external"
5 valid: true
6 warning: false
7 hosts: ~
8 auth: ~
9 options:
10 authMechanism: "GSSAPI"
11 authMechanismProperties:
12 SERVICE_NAME: "other"
13 CANONICALIZE_HOST_NAME: true
14 authSource: "$external"
15 -
16 description: "Valid auth options are parsed correctly (SCRAM-SHA-1)"
17 uri: "mongodb://foo:[email protected]/?authMechanism=SCRAM-SHA-1&authSource=authSourceDB"
18 valid: true
19 warning: false
20 hosts: ~
21 auth: ~
22 options:
23 authMechanism: "SCRAM-SHA-1"
24 authSource: "authSourceDB"