Hello Naveen, Simply encrypting only certain parts of a text file is a use-case I hadn't thought of before. It could potentially be added as an option to the ReplaceText processor.
That being said, what is the end-goal of encrypting certain elements of the flowfile content and why do you not want to encrypt the whole thing? Are you expecting to encrypt the certain elements of the JSON contents and un-encrypt them at a later point (in nifi or otherwise)? Keeping in mind that would require keeping track what password was used to encrypt every single flowfile. I can see the usefulness but just trying to see if that's the solution you really want (a feature not easily if at all supported now) or if there is a work around to meet your end-goal. Joe - - - - - - Joseph Percivall linkedin.com/in/Percivall e: [email protected] On Monday, November 30, 2015 11:56 AM, "Madhire, Naveen" <[email protected]> wrote: Hi, My requirement is to encrypt only selected elements of the JSON flow file. I was thinking of adding those selected elements into attributes and encrypt those. Is there a way to encrypt specific/sensitive elements of the flow file instead of the whole flow file? Thanks, Naveen ________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
