diff --git a/app/server/appsmith-plugins/redisPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/redisPlugin/src/main/resources/form.json index d2e12db10d5..5f5c3d391cc 100644 --- a/app/server/appsmith-plugins/redisPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/redisPlugin/src/main/resources/form.json @@ -58,6 +58,76 @@ ] } ] + }, + { + "sectionName": "TLS Configuration", + "id": 3, + "children": [ + { + "sectionName": null, + "children": [ + { + "label": "Enable TLS", + "configProperty": "datasourceConfiguration.tlsConfiguration.tlsEnabled", + "controlType": "CHECKBOX", + "initialValue": false + }, + { + "label": "Verify TLS Certificate", + "configProperty": "datasourceConfiguration.tlsConfiguration.verifyTlsCertificate", + "controlType": "CHECKBOX", + "initialValue": false, + "hidden": { + "path": "datasourceConfiguration.tlsConfiguration.tlsEnabled", + "comparison": "NOT_EQUALS", + "value": true + } + }, + { + "label": "Upload CA Certificate", + "configProperty": "datasourceConfiguration.tlsConfiguration.caCertificateFile", + "controlType": "FILE_PICKER", + "hidden": { + "path": "datasourceConfiguration.tlsConfiguration.tlsEnabled", + "comparison": "NOT_EQUALS", + "value": true + } + }, + { + "label": "Requires TLS Client Authentication", + "configProperty": "datasourceConfiguration.tlsConfiguration.requiresClientAuth", + "controlType": "CHECKBOX", + "initialValue": false, + "hidden": { + "path": "datasourceConfiguration.tlsConfiguration.tlsEnabled", + "comparison": "NOT_EQUALS", + "value": true + } + }, + { + "label": "Upload Client Certificate", + "configProperty": "datasourceConfiguration.tlsConfiguration.clientCertificateFile", + "controlType": "FILE_PICKER", + "hidden": { + "path": "datasourceConfiguration.tlsConfiguration.requiresClientAuth", + "comparison": "EQUALS", + "value": false + } + }, + { + "label": "Upload Client Key", + "configProperty": "datasourceConfiguration.tlsConfiguration.clientKeyFile", + "controlType": "FILE_PICKER", + "encrypted": true, + "hidden": { + "path": "datasourceConfiguration.tlsConfiguration.requiresClientAuth", + "comparison": "EQUALS", + "value": false + } + } + ] + } + ] } ] }