You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/config.schema.json
+79Lines changed: 79 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1003,6 +1003,38 @@
1003
1003
"description": "The database name\n\nThis must not be specified if `uri` is specified.",
1004
1004
"type": "string"
1005
1005
},
1006
+
"ssl_mode": {
1007
+
"description": "How to handle SSL connections",
1008
+
"allOf": [
1009
+
{
1010
+
"$ref": "#/definitions/PgSslMode"
1011
+
}
1012
+
]
1013
+
},
1014
+
"ssl_ca": {
1015
+
"description": "The PEM-encoded root certificate for SSL connections\n\nThis must not be specified if the `ssl_ca_file` option is specified.",
1016
+
"type": "string"
1017
+
},
1018
+
"ssl_ca_file": {
1019
+
"description": "Path to the root certificate for SSL connections\n\nThis must not be specified if the `ssl_ca` option is specified.",
1020
+
"type": "string"
1021
+
},
1022
+
"ssl_certificate": {
1023
+
"description": "The PEM-encoded client certificate for SSL connections\n\nThis must not be specified if the `ssl_certificate_file` option is specified.",
1024
+
"type": "string"
1025
+
},
1026
+
"ssl_certificate_file": {
1027
+
"description": "Path to the client certificate for SSL connections\n\nThis must not be specified if the `ssl_certificate` option is specified.",
1028
+
"type": "string"
1029
+
},
1030
+
"ssl_key": {
1031
+
"description": "The PEM-encoded client key for SSL connections\n\nThis must not be specified if the `ssl_key_file` option is specified.",
1032
+
"type": "string"
1033
+
},
1034
+
"ssl_key_file": {
1035
+
"description": "Path to the client key for SSL connections\n\nThis must not be specified if the `ssl_key` option is specified.",
1036
+
"type": "string"
1037
+
},
1006
1038
"max_connections": {
1007
1039
"description": "Set the maximum number of connections the pool should maintain",
1008
1040
"default": 10,
@@ -1044,6 +1076,53 @@
1044
1076
"type": "string",
1045
1077
"format": "hostname"
1046
1078
},
1079
+
"PgSslMode": {
1080
+
"description": "Options for controlling the level of protection provided for PostgreSQL SSL connections.",
1081
+
"oneOf": [
1082
+
{
1083
+
"description": "Only try a non-SSL connection.",
1084
+
"type": "string",
1085
+
"enum": [
1086
+
"disable"
1087
+
]
1088
+
},
1089
+
{
1090
+
"description": "First try a non-SSL connection; if that fails, try an SSL connection.",
1091
+
"type": "string",
1092
+
"enum": [
1093
+
"allow"
1094
+
]
1095
+
},
1096
+
{
1097
+
"description": "First try an SSL connection; if that fails, try a non-SSL connection.",
1098
+
"type": "string",
1099
+
"enum": [
1100
+
"prefer"
1101
+
]
1102
+
},
1103
+
{
1104
+
"description": "Only try an SSL connection. If a root CA file is present, verify the connection in the same way as if `VerifyCa` was specified.",
1105
+
"type": "string",
1106
+
"enum": [
1107
+
"require"
1108
+
]
1109
+
},
1110
+
{
1111
+
"description": "Only try an SSL connection, and verify that the server certificate is issued by a trusted certificate authority (CA).",
1112
+
"type": "string",
1113
+
"enum": [
1114
+
"verify-ca"
1115
+
]
1116
+
},
1117
+
{
1118
+
"description": "Only try an SSL connection; verify that the server certificate is issued by a trusted CA and that the requested server host name matches that in the certificate.",
1119
+
"type": "string",
1120
+
"enum": [
1121
+
"verify-full"
1122
+
]
1123
+
}
1124
+
]
1125
+
},
1047
1126
"TelemetryConfig": {
1048
1127
"description": "Configuration related to sending monitoring data",
0 commit comments