Support Questions

Find answers, ask questions, and share your expertise

Minifi sentitive value

avatar
New Contributor

 

Hi there,
I have a minifi flow, designed with Nifi Canvas, and contains sensitive value for certain property (like SSL truststore password).
How can I set the sensitive value in the minifi flow before execution?
I do not need to encrypt passwords, I need to provide password directly in flow json raw.

I am using version 2.2.0 for both nifi and minifi.

Thank you.
Pasq


pasq

2 REPLIES 2

avatar
Community Manager

@pasq, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts @MattWho @SAMSAL  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Mentor

@pasq 

Did you know that Cloudera makes managing and deploying your MiNiFi agents easy with Cloudera Edge Management?  Our ManagementHub provides a UI to build, deploy and update the dataflow you deploy to one too many MiNiFi agents.

You can create parameters for various properties like passwords to provide those at deployment time through Edge Management


Check out this Video.


NiFi processors with "sensitive" properties are designed to encrypt those password when written to the flow.json.gz.  Even in MiNiFi these component classes will expect that the passwords are encrypted.  The defined sensitive.props.key property value in the minifi.properties or nifi.propertes is used in the encryption/decryption of these sensitive properties stored in the flow.json.gz file.


Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt