2021-09-15 02:50:55 +00:00
|
|
|
{
|
2022-01-27 05:25:16 +00:00
|
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
|
2026-03-04 14:02:05 +00:00
|
|
|
"title": "MySQL datasource",
|
|
|
|
|
"description": "A schema defining MySQL datasource",
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "object",
|
|
|
|
|
"tj:version": "1.0.0",
|
|
|
|
|
"tj:source": {
|
2021-09-22 05:13:12 +00:00
|
|
|
"name": "MySQL",
|
|
|
|
|
"kind": "mysql",
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "database"
|
2021-09-22 05:13:12 +00:00
|
|
|
},
|
2025-04-28 15:55:49 +00:00
|
|
|
"properties": {
|
2023-08-02 10:19:31 +00:00
|
|
|
"connection_type": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "Connection type",
|
2026-03-04 14:02:05 +00:00
|
|
|
"description": "Single select dropdown for connection_type",
|
|
|
|
|
"enum": [
|
|
|
|
|
"manual",
|
|
|
|
|
"string"
|
|
|
|
|
],
|
|
|
|
|
"default": "manual"
|
|
|
|
|
},
|
|
|
|
|
"connection_string": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Connection string",
|
|
|
|
|
"description": "mysql://username:password@host:port/database"
|
|
|
|
|
},
|
|
|
|
|
"protocol": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Protocol",
|
|
|
|
|
"description": "Connection protocol",
|
2025-04-28 15:55:49 +00:00
|
|
|
"enum": [
|
|
|
|
|
"hostname",
|
2026-03-04 14:02:05 +00:00
|
|
|
"socket"
|
2025-04-28 15:55:49 +00:00
|
|
|
],
|
|
|
|
|
"default": "hostname"
|
2023-08-02 10:19:31 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"socket_path": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Socket path",
|
|
|
|
|
"description": "Enter the socket path"
|
|
|
|
|
},
|
2022-01-27 05:25:16 +00:00
|
|
|
"host": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "Host",
|
2026-03-04 14:02:05 +00:00
|
|
|
"description": "localhost",
|
2025-04-28 15:55:49 +00:00
|
|
|
"default": "localhost"
|
2022-01-27 05:25:16 +00:00
|
|
|
},
|
|
|
|
|
"port": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "number",
|
|
|
|
|
"title": "Port",
|
2026-03-04 14:02:05 +00:00
|
|
|
"description": "3306",
|
2025-04-28 15:55:49 +00:00
|
|
|
"default": 3306
|
2022-01-27 05:25:16 +00:00
|
|
|
},
|
|
|
|
|
"database": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
2026-03-04 14:02:05 +00:00
|
|
|
"title": "Database",
|
|
|
|
|
"description": "Enter name of the database"
|
2023-08-02 10:19:31 +00:00
|
|
|
},
|
2022-01-27 05:25:16 +00:00
|
|
|
"username": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "Username",
|
|
|
|
|
"description": "Enter username"
|
2022-01-27 05:25:16 +00:00
|
|
|
},
|
|
|
|
|
"password": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "Password",
|
|
|
|
|
"description": "Enter password"
|
2022-01-27 05:25:16 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"connection_options": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"title": "Connection options",
|
|
|
|
|
"description": "Connection options"
|
|
|
|
|
},
|
2022-01-27 05:25:16 +00:00
|
|
|
"ssl_enabled": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "boolean",
|
|
|
|
|
"title": "SSL",
|
|
|
|
|
"description": "Toggle for ssl_enabled",
|
|
|
|
|
"default": false
|
2024-10-28 17:56:26 +00:00
|
|
|
},
|
|
|
|
|
"ssl_certificate": {
|
2025-04-28 15:55:49 +00:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSL certificate",
|
|
|
|
|
"description": "Single select dropdown for choosing certificates",
|
|
|
|
|
"enum": [
|
2026-03-04 14:02:05 +00:00
|
|
|
"none",
|
2025-04-28 15:55:49 +00:00
|
|
|
"ca_certificate",
|
2026-03-04 14:02:05 +00:00
|
|
|
"self_signed"
|
2025-04-28 15:55:49 +00:00
|
|
|
],
|
|
|
|
|
"default": "none"
|
|
|
|
|
},
|
|
|
|
|
"ca_cert": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "CA cert",
|
|
|
|
|
"description": "Enter ca certificate"
|
|
|
|
|
},
|
|
|
|
|
"client_key": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Client key",
|
|
|
|
|
"description": "Enter client key"
|
|
|
|
|
},
|
|
|
|
|
"client_cert": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Client cert",
|
|
|
|
|
"description": "Enter client certificate"
|
|
|
|
|
},
|
|
|
|
|
"root_cert": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Root cert",
|
|
|
|
|
"description": "Enter root certificate"
|
2025-07-11 06:45:39 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"ssh_enabled": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Tunnel",
|
|
|
|
|
"description": "Connect through an SSH server",
|
|
|
|
|
"enum": [
|
|
|
|
|
"enabled",
|
|
|
|
|
"disabled"
|
|
|
|
|
],
|
|
|
|
|
"default": "disabled"
|
|
|
|
|
},
|
|
|
|
|
"ssh_host": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Host"
|
|
|
|
|
},
|
|
|
|
|
"ssh_port": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"title": "SSH Port",
|
|
|
|
|
"default": 22
|
|
|
|
|
},
|
|
|
|
|
"ssh_username": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Username"
|
|
|
|
|
},
|
|
|
|
|
"ssh_auth_type": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Authentication Type",
|
|
|
|
|
"enum": [
|
|
|
|
|
"private_key",
|
|
|
|
|
"password"
|
|
|
|
|
],
|
|
|
|
|
"default": "private_key"
|
|
|
|
|
},
|
|
|
|
|
"ssh_password": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Password"
|
|
|
|
|
},
|
|
|
|
|
"ssh_passphrase": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Passphrase"
|
|
|
|
|
},
|
|
|
|
|
"ssh_private_key": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "SSH Private Key"
|
|
|
|
|
},
|
2025-07-11 06:45:39 +00:00
|
|
|
"allow_dynamic_connection_parameters": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"title": "Allow dynamic connection parameters",
|
|
|
|
|
"description": "Turning this on will allow dynamically setting host name and database from application",
|
|
|
|
|
"default": false
|
2022-01-27 05:25:16 +00:00
|
|
|
}
|
2021-11-22 08:22:32 +00:00
|
|
|
},
|
2025-04-28 15:55:49 +00:00
|
|
|
"allOf": [
|
2026-03-04 14:02:05 +00:00
|
|
|
{
|
2025-04-28 15:55:49 +00:00
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"connection_type": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"const": "string"
|
2025-04-28 15:55:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"then": {
|
|
|
|
|
"required": [
|
2026-03-04 14:02:05 +00:00
|
|
|
"connection_string"
|
2025-04-28 15:55:49 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"ssl_certificate": {
|
|
|
|
|
"const": "ca_certificate"
|
2025-04-28 15:55:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"then": {
|
|
|
|
|
"required": [
|
2026-03-04 14:02:05 +00:00
|
|
|
"ca_cert"
|
2025-04-28 15:55:49 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"ssl_certificate": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"const": "self_signed"
|
2025-04-28 15:55:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"then": {
|
|
|
|
|
"required": [
|
2026-03-04 14:02:05 +00:00
|
|
|
"client_key",
|
|
|
|
|
"client_cert",
|
|
|
|
|
"root_cert"
|
2025-04-28 15:55:49 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"properties": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"ssh_enabled": {
|
|
|
|
|
"const": "enabled"
|
2025-04-28 15:55:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"then": {
|
|
|
|
|
"required": [
|
2026-03-04 14:02:05 +00:00
|
|
|
"ssh_host",
|
|
|
|
|
"ssh_port",
|
|
|
|
|
"ssh_username",
|
|
|
|
|
"ssh_auth_type"
|
2025-04-28 15:55:49 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-03-04 14:02:05 +00:00
|
|
|
"tj:encrypted": [
|
|
|
|
|
"password",
|
|
|
|
|
"ca_cert",
|
|
|
|
|
"client_key",
|
|
|
|
|
"client_cert",
|
|
|
|
|
"root_cert",
|
|
|
|
|
"ssh_private_key",
|
|
|
|
|
"ssh_password",
|
|
|
|
|
"ssh_passphrase",
|
|
|
|
|
"connection_string"
|
|
|
|
|
],
|
|
|
|
|
"required": [
|
|
|
|
|
"connection_type"
|
|
|
|
|
],
|
2025-04-28 15:55:49 +00:00
|
|
|
"tj:ui:properties": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"connection_type": {
|
|
|
|
|
"order": 1,
|
|
|
|
|
"$ref": "#/properties/connection_type",
|
|
|
|
|
"key": "connection_type",
|
|
|
|
|
"label": "Connection type",
|
|
|
|
|
"description": "Single select dropdown for connection_type",
|
2025-04-28 15:55:49 +00:00
|
|
|
"widget": "dropdown-component-flip",
|
2023-08-02 10:19:31 +00:00
|
|
|
"list": [
|
|
|
|
|
{
|
2026-03-04 14:02:05 +00:00
|
|
|
"name": "Manual connection",
|
|
|
|
|
"value": "manual"
|
2024-10-28 17:56:26 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-03-04 14:02:05 +00:00
|
|
|
"name": "Connection string",
|
|
|
|
|
"value": "string"
|
2023-08-02 10:19:31 +00:00
|
|
|
}
|
2026-03-04 14:02:05 +00:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"manual": {
|
|
|
|
|
"protocol": {
|
|
|
|
|
"order": 5,
|
|
|
|
|
"$ref": "#/properties/protocol",
|
|
|
|
|
"key": "protocol",
|
|
|
|
|
"label": "Protocol",
|
|
|
|
|
"description": "Select connection protocol",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"name": "HTTP/HTTPS",
|
|
|
|
|
"value": "hostname"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Socket",
|
|
|
|
|
"value": "socket"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"hostname": {
|
|
|
|
|
"host": {
|
|
|
|
|
"order": 10,
|
|
|
|
|
"$ref": "#/properties/host",
|
|
|
|
|
"key": "host",
|
|
|
|
|
"label": "Host",
|
|
|
|
|
"description": "localhost",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"port": {
|
|
|
|
|
"order": 20,
|
|
|
|
|
"$ref": "#/properties/port",
|
|
|
|
|
"key": "port",
|
|
|
|
|
"label": "Port",
|
|
|
|
|
"description": "3306",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"database": {
|
|
|
|
|
"order": 30,
|
|
|
|
|
"$ref": "#/properties/database",
|
|
|
|
|
"key": "database",
|
|
|
|
|
"label": "Database",
|
|
|
|
|
"description": "Enter name of the database",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"username": {
|
|
|
|
|
"order": 40,
|
|
|
|
|
"$ref": "#/properties/username",
|
|
|
|
|
"key": "username",
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"description": "Enter username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"order": 50,
|
|
|
|
|
"$ref": "#/properties/password",
|
|
|
|
|
"key": "password",
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"description": "Enter password",
|
|
|
|
|
"widget": "password-v3",
|
|
|
|
|
"help_text": "Supports secrets (e.g., {{secrets.db_password}})"
|
|
|
|
|
},
|
|
|
|
|
"allow_dynamic_connection_parameters": {
|
|
|
|
|
"order": 200,
|
|
|
|
|
"$ref": "#/properties/allow_dynamic_connection_parameters",
|
|
|
|
|
"key": "allow_dynamic_connection_parameters",
|
|
|
|
|
"label": "Allow dynamic connection parameters",
|
|
|
|
|
"description": "Turning this on will allow dynamically setting host name and database from application",
|
|
|
|
|
"widget": "toggle-v2",
|
|
|
|
|
"help_text": "Enable this to override the default host and database at query runtime."
|
|
|
|
|
},
|
|
|
|
|
"connection_options": {
|
|
|
|
|
"order": 70,
|
|
|
|
|
"$ref": "#/properties/connection_options",
|
|
|
|
|
"key": "connection_options",
|
|
|
|
|
"label": "Connection options",
|
|
|
|
|
"widget": "react-component-headers"
|
|
|
|
|
},
|
|
|
|
|
"ssl_enabled": {
|
|
|
|
|
"order": 80,
|
|
|
|
|
"$ref": "#/properties/ssl_enabled",
|
|
|
|
|
"key": "ssl_enabled",
|
|
|
|
|
"label": "SSL/TLS",
|
|
|
|
|
"description": "Enable SSL connection",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Enable encrypted connections to MySQL server.",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"true": {
|
|
|
|
|
"ssl_certificate": {
|
|
|
|
|
"order": 90,
|
|
|
|
|
"$ref": "#/properties/ssl_certificate",
|
|
|
|
|
"key": "ssl_certificate",
|
|
|
|
|
"label": "SSL certificate",
|
|
|
|
|
"description": "SSL certificate type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "none",
|
|
|
|
|
"name": "None"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "ca_certificate",
|
|
|
|
|
"name": "CA certificate"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "self_signed",
|
|
|
|
|
"name": "Self-signed certificate"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"ca_certificate": {
|
|
|
|
|
"ca_cert": {
|
|
|
|
|
"order": 100,
|
|
|
|
|
"$ref": "#/properties/ca_cert",
|
|
|
|
|
"key": "ca_cert",
|
|
|
|
|
"label": "CA certificate",
|
|
|
|
|
"description": "Enter CA certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
2024-10-28 17:56:26 +00:00
|
|
|
}
|
2026-03-04 14:02:05 +00:00
|
|
|
},
|
|
|
|
|
"self_signed": {
|
|
|
|
|
"client_key": {
|
|
|
|
|
"order": 110,
|
|
|
|
|
"$ref": "#/properties/client_key",
|
|
|
|
|
"key": "client_key",
|
|
|
|
|
"label": "Client key",
|
|
|
|
|
"description": "Enter client key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
2024-10-28 17:56:26 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"client_cert": {
|
|
|
|
|
"order": 120,
|
|
|
|
|
"$ref": "#/properties/client_cert",
|
|
|
|
|
"key": "client_cert",
|
|
|
|
|
"label": "Client certificate",
|
|
|
|
|
"description": "Enter client certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
2025-07-11 06:45:39 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"root_cert": {
|
|
|
|
|
"order": 130,
|
|
|
|
|
"$ref": "#/properties/root_cert",
|
|
|
|
|
"key": "root_cert",
|
|
|
|
|
"label": "Root certificate",
|
|
|
|
|
"description": "Enter root certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
2024-10-28 17:56:26 +00:00
|
|
|
}
|
2026-03-04 14:02:05 +00:00
|
|
|
},
|
|
|
|
|
"none": {}
|
|
|
|
|
},
|
|
|
|
|
"false": {},
|
|
|
|
|
"ssh_enabled": {
|
|
|
|
|
"order": 140,
|
|
|
|
|
"$ref": "#/properties/ssh_enabled",
|
|
|
|
|
"key": "ssh_enabled",
|
|
|
|
|
"label": "SSH tunnel",
|
|
|
|
|
"description": "Connect through an SSH server",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Connect through an SSH server to access databases in private networks.",
|
|
|
|
|
"default": false
|
2023-08-02 10:19:31 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"enabled": {
|
|
|
|
|
"ssh_host": {
|
|
|
|
|
"order": 150,
|
|
|
|
|
"$ref": "#/properties/ssh_host",
|
|
|
|
|
"key": "ssh_host",
|
|
|
|
|
"label": "SSH host",
|
|
|
|
|
"description": "ssh.example.com",
|
|
|
|
|
"help_text": "SSH server hostname or IP address",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_port": {
|
|
|
|
|
"order": 160,
|
|
|
|
|
"$ref": "#/properties/ssh_port",
|
|
|
|
|
"key": "ssh_port",
|
|
|
|
|
"label": "SSH port",
|
|
|
|
|
"description": "22",
|
|
|
|
|
"help_text": "Default SSH port is 22",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_username": {
|
|
|
|
|
"order": 170,
|
|
|
|
|
"$ref": "#/properties/ssh_username",
|
|
|
|
|
"key": "ssh_username",
|
|
|
|
|
"label": "SSH username",
|
|
|
|
|
"description": "SSH Username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_auth_type": {
|
|
|
|
|
"order": 175,
|
|
|
|
|
"$ref": "#/properties/ssh_auth_type",
|
|
|
|
|
"key": "ssh_auth_type",
|
|
|
|
|
"label": "Authentication type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"default": "private_key",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "private_key",
|
|
|
|
|
"name": "Private key"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "password",
|
|
|
|
|
"name": "Password"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"private_key": {
|
|
|
|
|
"ssh_private_key": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_private_key",
|
|
|
|
|
"key": "ssh_private_key",
|
|
|
|
|
"label": "SSH private key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"ssh_passphrase": {
|
|
|
|
|
"order": 190,
|
|
|
|
|
"$ref": "#/properties/ssh_passphrase",
|
|
|
|
|
"key": "ssh_passphrase",
|
|
|
|
|
"label": "SSH passphrase",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"ssh_password": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_password",
|
|
|
|
|
"key": "ssh_password",
|
|
|
|
|
"label": "SSH password",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
2024-10-28 17:56:26 +00:00
|
|
|
}
|
2023-08-02 10:19:31 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"disabled": {}
|
|
|
|
|
},
|
|
|
|
|
"socket": {
|
2024-10-28 17:56:26 +00:00
|
|
|
"socket_path": {
|
2026-03-04 14:02:05 +00:00
|
|
|
"order": 15,
|
|
|
|
|
"$ref": "#/properties/socket_path",
|
|
|
|
|
"key": "socket_path",
|
|
|
|
|
"label": "Socket path",
|
|
|
|
|
"description": "Enter the socket path",
|
|
|
|
|
"help_text":"MySQL socket file location (e.g., /tmp/mysql.sock)",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"database": {
|
|
|
|
|
"order": 30,
|
|
|
|
|
"$ref": "#/properties/database",
|
|
|
|
|
"key": "database",
|
|
|
|
|
"label": "Database",
|
|
|
|
|
"description": "Enter name of the database",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"username": {
|
|
|
|
|
"order": 40,
|
|
|
|
|
"$ref": "#/properties/username",
|
|
|
|
|
"key": "username",
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"description": "Enter username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"order": 50,
|
|
|
|
|
"$ref": "#/properties/password",
|
|
|
|
|
"key": "password",
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"description": "Enter password",
|
|
|
|
|
"widget": "password-v3",
|
|
|
|
|
"help_text": "Supports secrets (e.g., {{secrets.db_password}})"
|
|
|
|
|
},
|
|
|
|
|
"connection_options": {
|
|
|
|
|
"order": 70,
|
|
|
|
|
"$ref": "#/properties/connection_options",
|
|
|
|
|
"key": "connection_options",
|
|
|
|
|
"label": "Connection options",
|
|
|
|
|
"widget": "react-component-headers"
|
|
|
|
|
},
|
|
|
|
|
"allow_dynamic_connection_parameters": {
|
|
|
|
|
"$ref": "#/properties/allow_dynamic_connection_parameters",
|
|
|
|
|
"key": "allow_dynamic_connection_parameters",
|
|
|
|
|
"label": "Allow dynamic connection parameters",
|
|
|
|
|
"description": "Turning this on will allow dynamically setting host name and database from application",
|
|
|
|
|
"widget": "toggle-v2",
|
|
|
|
|
"help_text": "Enable this to override the default host and database at query runtime."
|
|
|
|
|
},
|
|
|
|
|
"ssl_enabled": {
|
|
|
|
|
"order": 80,
|
|
|
|
|
"$ref": "#/properties/ssl_enabled",
|
|
|
|
|
"key": "ssl_enabled",
|
|
|
|
|
"label": "SSL/TLS",
|
|
|
|
|
"description": "Enable SSL connection",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Enable encrypted connections to MySQL server.",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"true": {
|
|
|
|
|
"ssl_certificate": {
|
|
|
|
|
"order": 90,
|
|
|
|
|
"$ref": "#/properties/ssl_certificate",
|
|
|
|
|
"key": "ssl_certificate",
|
|
|
|
|
"label": "SSL certificate",
|
|
|
|
|
"description": "SSL certificate type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "none",
|
|
|
|
|
"name": "None"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "ca_certificate",
|
|
|
|
|
"name": "CA certificate"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "self_signed",
|
|
|
|
|
"name": "Self-signed certificate"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"ca_certificate": {
|
|
|
|
|
"ca_cert": {
|
|
|
|
|
"order": 100,
|
|
|
|
|
"$ref": "#/properties/ca_cert",
|
|
|
|
|
"key": "ca_cert",
|
|
|
|
|
"label": "CA certificate",
|
|
|
|
|
"description": "Enter CA certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"self_signed": {
|
|
|
|
|
"client_key": {
|
|
|
|
|
"order": 110,
|
|
|
|
|
"$ref": "#/properties/client_key",
|
|
|
|
|
"key": "client_key",
|
|
|
|
|
"label": "Client key",
|
|
|
|
|
"description": "Enter client key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"client_cert": {
|
|
|
|
|
"order": 120,
|
|
|
|
|
"$ref": "#/properties/client_cert",
|
|
|
|
|
"key": "client_cert",
|
|
|
|
|
"label": "Client certificate",
|
|
|
|
|
"description": "Enter client certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"root_cert": {
|
|
|
|
|
"order": 130,
|
|
|
|
|
"$ref": "#/properties/root_cert",
|
|
|
|
|
"key": "root_cert",
|
|
|
|
|
"label": "Root certificate",
|
|
|
|
|
"description": "Enter root certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"none": {}
|
|
|
|
|
},
|
|
|
|
|
"false": {},
|
|
|
|
|
"ssh_enabled": {
|
|
|
|
|
"order": 140,
|
|
|
|
|
"$ref": "#/properties/ssh_enabled",
|
|
|
|
|
"key": "ssh_enabled",
|
|
|
|
|
"label": "SSH tunnel",
|
|
|
|
|
"description": "Connect through an SSH server",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"default": false,
|
|
|
|
|
"help_text": "Connect through an SSH server to access databases in private networks."
|
|
|
|
|
},
|
|
|
|
|
"enabled": {
|
|
|
|
|
"ssh_host": {
|
|
|
|
|
"order": 150,
|
|
|
|
|
"$ref": "#/properties/ssh_host",
|
|
|
|
|
"key": "ssh_host",
|
|
|
|
|
"label": "SSH host",
|
|
|
|
|
"description": "ssh.example.com",
|
|
|
|
|
"help_text": "SSH server hostname or IP address",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_port": {
|
|
|
|
|
"order": 160,
|
|
|
|
|
"$ref": "#/properties/ssh_port",
|
|
|
|
|
"key": "ssh_port",
|
|
|
|
|
"label": "SSH port",
|
|
|
|
|
"description": "22",
|
|
|
|
|
"help_text": "Default SSH port is 22",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_username": {
|
|
|
|
|
"order": 170,
|
|
|
|
|
"$ref": "#/properties/ssh_username",
|
|
|
|
|
"key": "ssh_username",
|
|
|
|
|
"label": "SSH username",
|
|
|
|
|
"description": "SSH Username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_auth_type": {
|
|
|
|
|
"order": 175,
|
|
|
|
|
"$ref": "#/properties/ssh_auth_type",
|
|
|
|
|
"key": "ssh_auth_type",
|
|
|
|
|
"label": "Authentication type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"default": "private_key",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "private_key",
|
|
|
|
|
"name": "Private key"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "password",
|
|
|
|
|
"name": "Password"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"private_key": {
|
|
|
|
|
"ssh_private_key": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_private_key",
|
|
|
|
|
"key": "ssh_private_key",
|
|
|
|
|
"label": "SSH private key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"ssh_passphrase": {
|
|
|
|
|
"order": 190,
|
|
|
|
|
"$ref": "#/properties/ssh_passphrase",
|
|
|
|
|
"key": "ssh_passphrase",
|
|
|
|
|
"label": "SSH passphrase",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"ssh_password": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_password",
|
|
|
|
|
"key": "ssh_password",
|
|
|
|
|
"label": "SSH password",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
2024-10-28 17:56:26 +00:00
|
|
|
}
|
2026-03-04 14:02:05 +00:00
|
|
|
},
|
|
|
|
|
"disabled": {}
|
2023-08-02 10:19:31 +00:00
|
|
|
}
|
2021-09-15 02:50:55 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"string": {
|
|
|
|
|
"connection_string": {
|
|
|
|
|
"order": 2,
|
|
|
|
|
"$ref": "#/properties/connection_string",
|
|
|
|
|
"key": "connection_string",
|
|
|
|
|
"label": "Connection string",
|
|
|
|
|
"description": "mysql://username:password@host:port/database",
|
|
|
|
|
"widget": "password-v3-textarea",
|
|
|
|
|
"required": true
|
2024-10-28 17:56:26 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"protocol": {
|
|
|
|
|
"order": 5,
|
|
|
|
|
"$ref": "#/properties/protocol",
|
|
|
|
|
"key": "protocol",
|
|
|
|
|
"label": "Protocol",
|
|
|
|
|
"description": "Select connection protocol",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"name": "HTTP/HTTPS",
|
|
|
|
|
"value": "hostname"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Socket",
|
|
|
|
|
"value": "socket"
|
|
|
|
|
}
|
|
|
|
|
]
|
2024-10-28 17:56:26 +00:00
|
|
|
},
|
2026-03-04 14:02:05 +00:00
|
|
|
"hostname": {
|
|
|
|
|
"host": {
|
|
|
|
|
"order": 10,
|
|
|
|
|
"$ref": "#/properties/host",
|
|
|
|
|
"key": "host",
|
|
|
|
|
"label": "Host",
|
|
|
|
|
"description": "localhost",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"port": {
|
|
|
|
|
"order": 20,
|
|
|
|
|
"$ref": "#/properties/port",
|
|
|
|
|
"key": "port",
|
|
|
|
|
"label": "Port",
|
|
|
|
|
"description": "3306",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"database": {
|
|
|
|
|
"order": 30,
|
|
|
|
|
"$ref": "#/properties/database",
|
|
|
|
|
"key": "database",
|
|
|
|
|
"label": "Database",
|
|
|
|
|
"description": "Enter database",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"username": {
|
|
|
|
|
"order": 40,
|
|
|
|
|
"$ref": "#/properties/username",
|
|
|
|
|
"key": "username",
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"description": "Enter username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"order": 50,
|
|
|
|
|
"$ref": "#/properties/password",
|
|
|
|
|
"key": "password",
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"description": "Enter password",
|
|
|
|
|
"widget": "password-v3",
|
|
|
|
|
"help_text": "Supports secrets (e.g., {{secrets.db_password}})"
|
|
|
|
|
},
|
|
|
|
|
"connection_options": {
|
|
|
|
|
"order": 70,
|
|
|
|
|
"$ref": "#/properties/connection_options",
|
|
|
|
|
"key": "connection_options",
|
|
|
|
|
"label": "Connection options",
|
|
|
|
|
"widget": "react-component-headers"
|
|
|
|
|
},
|
|
|
|
|
"allow_dynamic_connection_parameters": {
|
|
|
|
|
"order": 200,
|
|
|
|
|
"$ref": "#/properties/allow_dynamic_connection_parameters",
|
|
|
|
|
"key": "allow_dynamic_connection_parameters",
|
|
|
|
|
"label": "Allow dynamic connection parameters",
|
|
|
|
|
"description": "Turning this on will allow dynamically setting host name and database from application",
|
|
|
|
|
"widget": "toggle-v2",
|
|
|
|
|
"help_text": "Enable this to override the default host and database at query runtime."
|
|
|
|
|
},
|
|
|
|
|
"ssl_enabled": {
|
|
|
|
|
"order": 80,
|
|
|
|
|
"$ref": "#/properties/ssl_enabled",
|
|
|
|
|
"key": "ssl_enabled",
|
|
|
|
|
"label": "SSL/TLS",
|
|
|
|
|
"description": "Enable SSL connection",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Enable encrypted connections to MySQL server.",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"true": {
|
|
|
|
|
"ssl_certificate": {
|
|
|
|
|
"order": 90,
|
|
|
|
|
"$ref": "#/properties/ssl_certificate",
|
|
|
|
|
"key": "ssl_certificate",
|
|
|
|
|
"label": "SSL certificate",
|
|
|
|
|
"description": "SSL certificate type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "none",
|
|
|
|
|
"name": "None"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "ca_certificate",
|
|
|
|
|
"name": "CA certificate"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "self_signed",
|
|
|
|
|
"name": "Self-signed certificate"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"ca_certificate": {
|
|
|
|
|
"ca_cert": {
|
|
|
|
|
"order": 100,
|
|
|
|
|
"$ref": "#/properties/ca_cert",
|
|
|
|
|
"key": "ca_cert",
|
|
|
|
|
"label": "CA certificate",
|
|
|
|
|
"description": "Enter CA certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"self_signed": {
|
|
|
|
|
"client_key": {
|
|
|
|
|
"order": 110,
|
|
|
|
|
"$ref": "#/properties/client_key",
|
|
|
|
|
"key": "client_key",
|
|
|
|
|
"label": "Client key",
|
|
|
|
|
"description": "Enter client key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"client_cert": {
|
|
|
|
|
"order": 120,
|
|
|
|
|
"$ref": "#/properties/client_cert",
|
|
|
|
|
"key": "client_cert",
|
|
|
|
|
"label": "Client certificate",
|
|
|
|
|
"description": "Enter client certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"root_cert": {
|
|
|
|
|
"order": 130,
|
|
|
|
|
"$ref": "#/properties/root_cert",
|
|
|
|
|
"key": "root_cert",
|
|
|
|
|
"label": "Root certificate",
|
|
|
|
|
"description": "Enter root certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"none": {}
|
|
|
|
|
},
|
|
|
|
|
"false": {},
|
|
|
|
|
"ssh_enabled": {
|
|
|
|
|
"order": 140,
|
|
|
|
|
"$ref": "#/properties/ssh_enabled",
|
|
|
|
|
"key": "ssh_enabled",
|
|
|
|
|
"label": "SSH tunnel",
|
|
|
|
|
"description": "Connect through an SSH server",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"default": false,
|
|
|
|
|
"help_text": "Connect through an SSH server to access databases in private networks."
|
|
|
|
|
},
|
|
|
|
|
"enabled": {
|
|
|
|
|
"ssh_host": {
|
|
|
|
|
"order": 150,
|
|
|
|
|
"$ref": "#/properties/ssh_host",
|
|
|
|
|
"key": "ssh_host",
|
|
|
|
|
"label": "SSH host",
|
|
|
|
|
"description": "ssh.example.com",
|
|
|
|
|
"help_text": "SSH server hostname or IP address",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_port": {
|
|
|
|
|
"order": 160,
|
|
|
|
|
"$ref": "#/properties/ssh_port",
|
|
|
|
|
"key": "ssh_port",
|
|
|
|
|
"label": "SSH port",
|
|
|
|
|
"description": "22",
|
|
|
|
|
"help_text": "Default SSH port is 22",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_username": {
|
|
|
|
|
"order": 170,
|
|
|
|
|
"$ref": "#/properties/ssh_username",
|
|
|
|
|
"key": "ssh_username",
|
|
|
|
|
"label": "SSH username",
|
|
|
|
|
"description": "SSH Username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_auth_type": {
|
|
|
|
|
"order": 175,
|
|
|
|
|
"$ref": "#/properties/ssh_auth_type",
|
|
|
|
|
"key": "ssh_auth_type",
|
|
|
|
|
"label": "Authentication type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"default": "private_key",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "private_key",
|
|
|
|
|
"name": "Private key"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "password",
|
|
|
|
|
"name": "Password"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"private_key": {
|
|
|
|
|
"ssh_private_key": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_private_key",
|
|
|
|
|
"key": "ssh_private_key",
|
|
|
|
|
"label": "SSH private key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"ssh_passphrase": {
|
|
|
|
|
"order": 190,
|
|
|
|
|
"$ref": "#/properties/ssh_passphrase",
|
|
|
|
|
"key": "ssh_passphrase",
|
|
|
|
|
"label": "SSH passphrase",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"ssh_password": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_password",
|
|
|
|
|
"key": "ssh_password",
|
|
|
|
|
"label": "SSH password",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"disabled": {}
|
|
|
|
|
},
|
|
|
|
|
"socket": {
|
|
|
|
|
"socket_path": {
|
|
|
|
|
"order": 15,
|
|
|
|
|
"$ref": "#/properties/socket_path",
|
|
|
|
|
"key": "socket_path",
|
|
|
|
|
"label": "Socket path",
|
|
|
|
|
"description": "Enter socket path",
|
|
|
|
|
"help_text":"MySQL socket file location (e.g., /tmp/mysql.sock)",
|
|
|
|
|
"widget": "text-v3",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
"database": {
|
|
|
|
|
"order": 30,
|
|
|
|
|
"$ref": "#/properties/database",
|
|
|
|
|
"key": "database",
|
|
|
|
|
"label": "Database",
|
|
|
|
|
"description": "Enter name of the database",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"username": {
|
|
|
|
|
"order": 40,
|
|
|
|
|
"$ref": "#/properties/username",
|
|
|
|
|
"key": "username",
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"description": "Enter username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"order": 50,
|
|
|
|
|
"$ref": "#/properties/password",
|
|
|
|
|
"key": "password",
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"description": "password from connection string",
|
|
|
|
|
"widget": "password-v3",
|
|
|
|
|
"help_text": "Supports secrets (e.g., {{secrets.db_password}})"
|
|
|
|
|
},
|
|
|
|
|
"allow_dynamic_connection_parameters": {
|
|
|
|
|
"order": 200,
|
|
|
|
|
"$ref": "#/properties/allow_dynamic_connection_parameters",
|
|
|
|
|
"key": "allow_dynamic_connection_parameters",
|
|
|
|
|
"label": "Allow dynamic connection parameters",
|
|
|
|
|
"description": "Turning this on will allow dynamically setting host name and database from application",
|
|
|
|
|
"widget": "toggle-v2",
|
|
|
|
|
"help_text": "Enable this to override the default host and database at query runtime."
|
|
|
|
|
},
|
|
|
|
|
"connection_options": {
|
|
|
|
|
"order": 70,
|
|
|
|
|
"$ref": "#/properties/connection_options",
|
|
|
|
|
"key": "connection_options",
|
|
|
|
|
"label": "Connection options",
|
|
|
|
|
"widget": "react-component-headers"
|
|
|
|
|
},
|
|
|
|
|
"ssl_enabled": {
|
|
|
|
|
"order": 80,
|
|
|
|
|
"$ref": "#/properties/ssl_enabled",
|
|
|
|
|
"key": "ssl_enabled",
|
|
|
|
|
"label": "SSL/TLS",
|
|
|
|
|
"description": "Enable SSL connection",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Enable encrypted connections to MySQL server.",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"true": {
|
|
|
|
|
"ssl_certificate": {
|
|
|
|
|
"order": 90,
|
|
|
|
|
"$ref": "#/properties/ssl_certificate",
|
|
|
|
|
"key": "ssl_certificate",
|
|
|
|
|
"label": "SSL certificate",
|
|
|
|
|
"description": "SSL certificate type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "none",
|
|
|
|
|
"name": "None"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "ca_certificate",
|
|
|
|
|
"name": "CA certificate"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "self_signed",
|
|
|
|
|
"name": "Self-signed certificate"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"ca_certificate": {
|
|
|
|
|
"ca_cert": {
|
|
|
|
|
"order": 100,
|
|
|
|
|
"$ref": "#/properties/ca_cert",
|
|
|
|
|
"key": "ca_cert",
|
|
|
|
|
"label": "CA certificate",
|
|
|
|
|
"description": "Enter CA certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"self_signed": {
|
|
|
|
|
"client_key": {
|
|
|
|
|
"order": 110,
|
|
|
|
|
"$ref": "#/properties/client_key",
|
|
|
|
|
"key": "client_key",
|
|
|
|
|
"label": "Client key",
|
|
|
|
|
"description": "Enter client key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"client_cert": {
|
|
|
|
|
"order": 120,
|
|
|
|
|
"$ref": "#/properties/client_cert",
|
|
|
|
|
"key": "client_cert",
|
|
|
|
|
"label": "Client certificate",
|
|
|
|
|
"description": "Enter client certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"root_cert": {
|
|
|
|
|
"order": 130,
|
|
|
|
|
"$ref": "#/properties/root_cert",
|
|
|
|
|
"key": "root_cert",
|
|
|
|
|
"label": "Root certificate",
|
|
|
|
|
"description": "Enter root certificate",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"none": {}
|
|
|
|
|
},
|
|
|
|
|
"false": {},
|
|
|
|
|
"ssh_enabled": {
|
|
|
|
|
"order": 140,
|
|
|
|
|
"$ref": "#/properties/ssh_enabled",
|
|
|
|
|
"key": "ssh_enabled",
|
|
|
|
|
"label": "SSH tunnel",
|
|
|
|
|
"description": "Connect through an SSH server",
|
|
|
|
|
"widget": "toggle-flip",
|
|
|
|
|
"help_text": "Connect through an SSH server to access databases in private networks.",
|
|
|
|
|
"default": false
|
|
|
|
|
},
|
|
|
|
|
"enabled": {
|
|
|
|
|
"ssh_host": {
|
|
|
|
|
"order": 150,
|
|
|
|
|
"$ref": "#/properties/ssh_host",
|
|
|
|
|
"key": "ssh_host",
|
|
|
|
|
"label": "SSH host",
|
|
|
|
|
"description": "ssh.example.com",
|
|
|
|
|
"help_text": "SSH server hostname or IP address",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_port": {
|
|
|
|
|
"order": 160,
|
|
|
|
|
"$ref": "#/properties/ssh_port",
|
|
|
|
|
"key": "ssh_port",
|
|
|
|
|
"label": "SSH port",
|
|
|
|
|
"description": "22",
|
|
|
|
|
"help_text": "Default SSH port is 22",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_username": {
|
|
|
|
|
"order": 170,
|
|
|
|
|
"$ref": "#/properties/ssh_username",
|
|
|
|
|
"key": "ssh_username",
|
|
|
|
|
"label": "SSH username",
|
|
|
|
|
"description": "SSH username",
|
|
|
|
|
"widget": "text-v3"
|
|
|
|
|
},
|
|
|
|
|
"ssh_auth_type": {
|
|
|
|
|
"order": 175,
|
|
|
|
|
"$ref": "#/properties/ssh_auth_type",
|
|
|
|
|
"key": "ssh_auth_type",
|
|
|
|
|
"label": "Authentication type",
|
|
|
|
|
"widget": "dropdown-component-flip",
|
|
|
|
|
"default": "private_key",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"value": "private_key",
|
|
|
|
|
"name": "Private key"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"value": "password",
|
|
|
|
|
"name": "Password"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"private_key": {
|
|
|
|
|
"ssh_private_key": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_private_key",
|
|
|
|
|
"key": "ssh_private_key",
|
|
|
|
|
"label": "SSH private key",
|
|
|
|
|
"widget": "password-v3-textarea"
|
|
|
|
|
},
|
|
|
|
|
"ssh_passphrase": {
|
|
|
|
|
"order": 190,
|
|
|
|
|
"$ref": "#/properties/ssh_passphrase",
|
|
|
|
|
"key": "ssh_passphrase",
|
|
|
|
|
"label": "SSH passphrase",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"ssh_password": {
|
|
|
|
|
"order": 180,
|
|
|
|
|
"$ref": "#/properties/ssh_password",
|
|
|
|
|
"key": "ssh_password",
|
|
|
|
|
"label": "SSH password",
|
|
|
|
|
"widget": "password-v3"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"disabled": {}
|
2023-08-02 10:19:31 +00:00
|
|
|
}
|
2021-09-15 02:50:55 +00:00
|
|
|
}
|
2025-04-28 15:55:49 +00:00
|
|
|
}
|
|
|
|
|
}
|