Configure StandardSSLContextService with password from environment variable
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

