<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Configure StandardSSLContextService with password from environment variable in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333750#M231502</link>
    <description>&lt;P&gt;To answer your question "&lt;SPAN&gt;is there a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;way to read a parameter from environment inside a parameter context?" No.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way you want to manage password at runtime is not possible.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 12:03:37 GMT</pubDate>
    <dc:creator>ckumar</dc:creator>
    <dc:date>2022-01-13T12:03:37Z</dc:date>
    <item>
      <title>Configure StandardSSLContextService with password from environment variable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333733#M231494</link>
      <description>&lt;P&gt;Hello community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to configure a&amp;nbsp;&lt;SPAN&gt;StandardSSLContextService for kafka to read the password for the keystore from an environment variable.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sadly it is not possible to use the "Expression Language" for this sensitive property.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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&amp;nbsp;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.&amp;nbsp;&lt;BR /&gt;I am looking for a solution to read the password automatically, e.g. by setting it as environment variable in nifi.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any idea how I could achive this? Is there a mechanism I am missing?&lt;BR /&gt;&lt;BR /&gt;Thank you a lot for your help,&lt;BR /&gt;Constantin&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 08:08:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333733#M231494</guid>
      <dc:creator>ConstantinPf</dc:creator>
      <dc:date>2022-01-13T08:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configure StandardSSLContextService with password from environment variable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333746#M231499</link>
      <description>&lt;P&gt;It is not allowed to set processor password property configuration through&amp;nbsp;environment variable&amp;nbsp; or variable registry. Only through&amp;nbsp;&lt;SPAN&gt;parameter context&lt;/SPAN&gt;&amp;nbsp;values for passwords can be defined at processor group level in nifi.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 11:05:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333746#M231499</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-13T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configure StandardSSLContextService with password from environment variable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333749#M231501</link>
      <description>&lt;P&gt;Thank you for the quick reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 11:58:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333749#M231501</guid>
      <dc:creator>ConstantinPf</dc:creator>
      <dc:date>2022-01-13T11:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure StandardSSLContextService with password from environment variable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333750#M231502</link>
      <description>&lt;P&gt;To answer your question "&lt;SPAN&gt;is there a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;way to read a parameter from environment inside a parameter context?" No.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way you want to manage password at runtime is not possible.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-with-password-from/m-p/333750#M231502</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-13T12:03:37Z</dc:date>
    </item>
  </channel>
</rss>

