简体   繁体   中英

Kettle to encrypt file using PGP

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM