This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit dacef2b159e81a37f951f9a1f05f67acbe401184 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Nov 22 16:59:42 2022 +0100 SCP connector missing authentication options to use a private key Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/scp-sink.kamelet.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/kamelets/scp-sink.kamelet.yaml b/kamelets/scp-sink.kamelet.yaml index 798bec4f..2bd3adf7 100644 --- a/kamelets/scp-sink.kamelet.yaml +++ b/kamelets/scp-sink.kamelet.yaml @@ -57,6 +57,26 @@ spec: x-descriptors: - urn:alm:descriptor:com.tectonic.ui:password - urn:camel:group:credentials + privateKeyFile: + title: Private Key File + description: Set the private key file so that the SFTP endpoint can do private key verification. + type: string + privateKeyPassphrase: + title: Private Key Passphrase + description: Set the private key file passphrase so that the SFTP endpoint can do private key verification. + type: string + strictHostKeyChecking: + title: Strict Host Checking + description: Sets whether to use strict host key checking. + type: string + default: no + useUserKnownHostsFile: + title: Use User Known Hosts File + description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. + type: boolean + default: true + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' dependencies: - "camel:core" - "camel:jsch" @@ -70,4 +90,8 @@ spec: parameters: username: "{{?username}}" password: "{{?password}}" + privateKeyFile: "{{?privateKeyFile}}" + privateKeyPassphrase: "{{?privateKeyPassphrase}}" + strictHostKeyChecking: "{{?strictHostKeyChecking}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" strictHostKeyChecking: "no"