You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/11/22 16:01:23 UTC
[camel-kamelets] 01/02: SCP connector missing authentication options to use a private key
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 ee14e1eff8eac309660c59c30af513c8012c75bd
Author: Andrea Cosentino <an...@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 <an...@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"