Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
desanip
Contributor
Contributor

Loading context from Properties file in Talend along with encryption of passwords

Hello Everyone,

Can someone explain me how to load database parameters from an external properties file in Talend instead of context variables? I also want to encrypt the datbase password for enhanced security? I see there are tfileinputpropertiesfile and tcontextload properties to achieve this but can show me the data flow to get a clear idea?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

 

    In the context details, you can pass different file paths for different environments. Then you can read the data from there and pass to variables. From that point onwards, the flow will be same.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

5 Replies
fdenis
Master
Master

you can use tfileInput an trunjob to load context values froma file but you have to manage encryption by yourself.
what is your real problem?
did you want o split prod and dev?
did you want to run a job on multiple context?
desanip
Contributor
Contributor
Author

Hello denis,

Thanks for the reply.

Yes, I want to separate DEV, QA and PROD contexts in diff properties file so that i can run the job in different environment as needed? Do you have an example for me that helps me understand better?

Anonymous
Not applicable

Hi,

 

    In the context details, you can pass different file paths for different environments. Then you can read the data from there and pass to variables. From that point onwards, the flow will be same.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

fdenis
Master
Master

desanip
Contributor
Contributor
Author

Thanks Nikhil and Fdenis.