This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 1157-scp in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a5a4e7878dc6baec1e9b7e5113c3a842559937a5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Nov 22 17:00:31 2022 +0100 SCP connector missing authentication options to use a private key Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../main/resources/kamelets/scp-sink.kamelet.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml index 798bec4f..2bd3adf7 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/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"