Question

I want to encrypt files using PGP in Pentaho. I have a Java program to encrypt the file through command line. Kettle recommends to encrypt row by row using user defined call, Is there a way to encrypt whole file as such using kettle user defined class? I am new to kettle.

Was it helpful?

Solution

I'm not sure about your requirement. but you can develop kettle plugin

http://type-exit.org/adventures-with-open-source-bi/2010/06/developing-a-custom-kettle-plugin-a-simple-transformation-step/

In the plugin just pass filename to method Runtime.exec() to encrypt your file.

OTHER TIPS

Yes you can. Create a new Kettle Job, add your file transformation to the flow job, now use the Encrypt files with PGP Step.

You can do this at job level. you have a step called Encrypt PGP files. This has to be used at job level. Hope I have answered your question.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top