Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KameletBinding - Component Credentials #468

Closed
2020testuser opened this issue Aug 26, 2021 · 2 comments
Closed

KameletBinding - Component Credentials #468

2020testuser opened this issue Aug 26, 2021 · 2 comments

Comments

@2020testuser
Copy link

Hi,
Could anyone please help me out?

  1. In the salesforce kameletbinding link , the salesforce authentication details such as clientId, clientSecret, password and userName need to be hardcoded. Is there a way to pass as Kubernetes Secret in the kameletbinding or use any other approach rather than hardcoding?

  2. Using kameletbinding, can I get all records in Salesforce Contacts and other tables and insert into the sink ( which is a database)? I don't see any 'select' option in Salesforce KameletBinding.

  3. In the query in salesforce kameletbinding, can I use multiple queries as I want to insert into more than one table?
    Thanks in advance!

@oscerd
Copy link
Contributor

oscerd commented Aug 27, 2021

  1. You can create a secret with the same keys as the parameters name in the Kamelet, like here: https://github.com/apache/camel-k-examples/tree/main/kamelets/aws-s3-to-log-with-secret
  2. If you run a query you can do a select and select all the contacts
  3. Never tried this, you could do a test

@2020testuser
Copy link
Author

@oscerd - Thanks! Will check and try it out! Appreciate your timely help.

@oscerd oscerd closed this as completed Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants