Member since
01-12-2022
2
Posts
0
Kudos Received
0
Solutions
01-13-2022
03:58 AM
Thank you for the quick reply. As far as I see this does not solve my problem. I could create a "Parameter Context" but I would have to hardcode the password as parameter in the parameter context right? Or is there a way to read a parameter from environment inside a parameter context?
... View more
01-13-2022
12:08 AM
Hello community, I would like to configure a StandardSSLContextService for kafka to read the password for the keystore from an environment variable. Sadly it is not possible to use the "Expression Language" for this sensitive property. Background: We are using an operator to provision kafka users. The operator generate a kubernetes secret with the keystore and keystore password. The kubernetes secret is mounted into the nifi container and can be referenced in the StandardSSLContextService. Currently we have to add the password for this keystore manually. But when the kafka user certificate expires and is rotated, the password of the keystore changes too. I am looking for a solution to read the password automatically, e.g. by setting it as environment variable in nifi. Any idea how I could achive this? Is there a mechanism I am missing? Thank you a lot for your help, Constantin
... View more
Labels:
- Labels:
-
Apache NiFi