-
Notifications
You must be signed in to change notification settings - Fork 2
/
ui.schema.json
72 lines (72 loc) · 3 KB
/
ui.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"ui:order": [
"connectionMethod",
"server",
"port",
"socketPath",
"connectString",
"database",
"username",
"usePassword",
"password",
"pgOptions"
],
"password": {
"ui:widget": "password"
},
"askForPassword": {
"ui:widget": "hidden"
},
"socketPath": {
"ui:widget": "file"
},
"pgOptions": {
"ui:order": ["enableSsl", "ssl", "*"],
"statement_timeout": {
"ui:help": "Number of milliseconds before a statement in query will time out. Default is no timeout"
},
"query_timeout": {
"ui:help": "Number of milliseconds before a query call will timeout. Default is no timeout"
},
"connectionTimeoutMillis": {
"ui:help": "Number of milliseconds to wait before timing out when connecting a new client. By default this is 0 which means no timeout"
},
"idleTimeoutMillis": {
"ui:help": "Number of milliseconds a client must sit idle in the pool and not be checked out before it is disconnected from the backend and discarded. Default is 10000 (10 seconds) - set to 0 to disable auto-disconnection of idle clients"
},
"max": {
"ui:help": "Maximum number of clients the pool should contain. By default this is set to 10."
},
"enabledSsl": {
"ui:help": "Enabled SSL for this connection"
},
"ssl": {
"rejectUnauthorized": {
"ui:help": "If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true. Default: true"
},
"requestCert": {
"ui:help": "If true the server will request a certificate from clients that connect and attempt to verify that certificate. Default: false"
},
"ca": {
"ui:help": "Optionally override the trusted CA certificates. Default is to trust the well-known CAs curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified using this option.",
"ui:widget": "file"
},
"key": {
"ui:help": "Private keys in PEM format. PEM allows the option of private keys being encrypted. Encrypted keys will be decrypted with options.passphrase",
"ui:widget": "file"
},
"cert": {
"ui:help": "Cert chains in PEM format. One cert chain should be provided per private key. Each cert chain should consist of the PEM formatted certificate for a provided private key, followed by the PEM formatted intermediate certificates (if any), in order, and not including the root CA (the root CA must be pre-known to the peer, see ca)",
"ui:widget": "file"
},
"pfx": {
"ui:help": "PFX or PKCS12 encoded private key and certificate chain. pfx is an alternative to providing key and cert individually. PFX is usually encrypted, if it is, passphrase will be used to decrypt it",
"ui:widget": "file"
},
"passphrase": {
"ui:help": "Shared passphrase used for a single private key and/or a PFX",
"ui:widget": "password"
}
}
}
}