<?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 Apache Nifi - username password for Rest Api in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206404#M71463</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;where and how exactly can i set a username and password in Nifi?&lt;/P&gt;&lt;P&gt;I want to use them in Rest Api calls, like in this tutorial &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/87160/creating-nifi-template-via-rest-api.html" target="_blank"&gt;https://community.hortonworks.com/articles/87160/creating-nifi-template-via-rest-api.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At this nifi page is something written about setting username and password, but I dont understand it &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2017 17:40:13 GMT</pubDate>
    <dc:creator>jiayu_g3turbo</dc:creator>
    <dc:date>2017-11-20T17:40:13Z</dc:date>
    <item>
      <title>Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206404#M71463</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;where and how exactly can i set a username and password in Nifi?&lt;/P&gt;&lt;P&gt;I want to use them in Rest Api calls, like in this tutorial &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/87160/creating-nifi-template-via-rest-api.html" target="_blank"&gt;https://community.hortonworks.com/articles/87160/creating-nifi-template-via-rest-api.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At this nifi page is something written about setting username and password, but I dont understand it &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:40:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206404#M71463</guid>
      <dc:creator>jiayu_g3turbo</dc:creator>
      <dc:date>2017-11-20T17:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206405#M71464</link>
      <description>&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;Your question is ambiguous -- are you looking to use NiFi to make an external HTTP REST request to some other service, and that service requires a username and password, or are you trying to perform behavior in NiFi (adding templates, process groups, etc.) and want to authenticate to NiFi in order to do this?&lt;/P&gt;&lt;P&gt;For the former, you'll need to provide the credentials as an Authorization header via an attribute in the InvokeHTTP (or similar) processor. &lt;/P&gt;&lt;P&gt;For the latter, you configure NiFi to use one or more authentication mechanisms -- client certificates, LDAP, Kerberos, or OpenID Connect. All but client certificates use a username/password combination, which you can then exchange for an access token as described in the first link you included. Once you have that auth token, you pass it on each request and NiFi verifies it to prove your identity. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 02:44:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206405#M71464</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2017-11-21T02:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206406#M71465</link>
      <description>&lt;P&gt;Im trieng to perform a behavior in Nifi. Okay so I need to configure LDAP, Kerberos, or OpenID Connect. Can u give me a suggestion which one I should use? I dont really know about LDAP, Kerberos, or OpenID Connect. Because of that I didnt understood the things described in &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security-configuration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 19:26:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206406#M71465</guid>
      <dc:creator>jiayu_g3turbo</dc:creator>
      <dc:date>2017-11-22T19:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206407#M71466</link>
      <description>&lt;P&gt;Is this step by step guide legit for using OpenId Connect? &lt;A href="https://bryanbende.com/development/2017/10/03/apache-nifi-openid-connect" target="_blank"&gt;https://bryanbende.com/development/2017/10/03/apache-nifi-openid-connect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 19:36:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206407#M71466</guid>
      <dc:creator>jiayu_g3turbo</dc:creator>
      <dc:date>2017-11-22T19:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206408#M71467</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi, found your answer when I was looking for a solution to &lt;STRONG&gt;run NiFi InvokeHTTP with different credentials&lt;/STRONG&gt;. Can you tell me how to do this =&amp;gt; "&lt;EM&gt;For the former, you'll need to provide the credentials as an Authorization header via an attribute in the InvokeHTTP (or similar) processor.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Is it the "Attributes to Send" information to set? Couldn't get it work.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:49:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206408#M71467</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2018-10-18T16:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206409#M71468</link>
      <description>&lt;P&gt;Justen, you do not need to provide a value for &lt;STRONG&gt;Attributes to Send&lt;/STRONG&gt; if you are providing the &lt;EM&gt;Authorization&lt;/EM&gt; header via a &lt;EM&gt;dynamic property on the InvokeHTTP processor&lt;/EM&gt; (all dynamic properties are included as headers automatically). If the token value is coming as an &lt;EM&gt;attribute&lt;/EM&gt; on the &lt;EM&gt;incoming flowfile&lt;/EM&gt;, then you will need to provide a value for &lt;STRONG&gt;Attributes to Send&lt;/STRONG&gt; -- you can use the explicit attribute name (key) if you only want to send that header, or a regular expression if you want to send more than one. I've &lt;A href="https://gist.github.com/alopresto/ab546ef637e4371abf52bd3354259ac1" target="_blank" rel="nofollow noopener noreferrer"&gt;linked to a template&lt;/A&gt; I just built which demonstrates this behavior. The dynamic property is already there -- to add one, you click the "&lt;STRONG&gt;+&lt;/STRONG&gt;" icon on the top right of the &lt;EM&gt;Properties&lt;/EM&gt; tab in the processor configuration. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92901-screen-shot-2018-10-18-at-81528-pm-compressed.png" style="width: 2144px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17047iCD22EB650D1E36AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92901-screen-shot-2018-10-18-at-81528-pm-compressed.png" alt="92901-screen-shot-2018-10-18-at-81528-pm-compressed.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:44:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206409#M71468</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2019-08-18T04:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206410#M71469</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;&lt;/A&gt;Hi Andy, thank you so much for your quick and detailed response, really great! 
It works perfect, you made my day! &lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 13:35:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206410#M71469</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2018-10-19T13:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi - username password for Rest Api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206411#M71470</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46253/jiayug3turbo.html" nodeid="46253"&gt;@Andy Gisbo&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, that guide is accurate example of using OpenID with google.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 01:11:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-username-password-for-Rest-Api/m-p/206411#M71470</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2018-10-20T01:11:26Z</dc:date>
    </item>
  </channel>
</rss>

