<?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: API Nifi + Token + SAML2 in Cloudera Data Analytics (CDA) Forum</title>
    <link>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370671#M4</link>
    <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105044" target="_blank"&gt;@Gutao&lt;/A&gt;.&amp;nbsp;Perhaps&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454" target="_blank"&gt;@MattWho&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381" target="_blank"&gt;@SAMSAL&lt;/A&gt;&amp;nbsp;will be able to lead you in the right direction.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 12:28:33 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2023-05-15T12:28:33Z</dc:date>
    <item>
      <title>API Nifi + Token + SAML2</title>
      <link>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370666#M3</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nifi is authenticating using SAML2, but the authenticator does not provide token without MFA authentication.&lt;/P&gt;&lt;P&gt;I need to create an automation to connect to the Nifi API, can I make this connection without using the SAML2 token?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 17:12:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370666#M3</guid>
      <dc:creator>Gutao</dc:creator>
      <dc:date>2023-05-12T17:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: API Nifi + Token + SAML2</title>
      <link>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370671#M4</link>
      <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105044" target="_blank"&gt;@Gutao&lt;/A&gt;.&amp;nbsp;Perhaps&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454" target="_blank"&gt;@MattWho&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381" target="_blank"&gt;@SAMSAL&lt;/A&gt;&amp;nbsp;will be able to lead you in the right direction.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:28:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370671#M4</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-05-15T12:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: API Nifi + Token + SAML2</title>
      <link>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370742#M5</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll wait and see if someone can help me.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:33:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/370742#M5</guid>
      <dc:creator>Gutao</dc:creator>
      <dc:date>2023-05-15T12:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: API Nifi + Token + SAML2</title>
      <link>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/371619#M17</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105044"&gt;@Gutao&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;When interacting with the NiFi rest-api, I'd recommend creating a client certificate to use in your automation.&amp;nbsp; A secured NiFi will always WANT a client certificate and will only try another configured auth method if a client certificate is not provide in the TLS exchange.&amp;nbsp; Using a certificate for your rest-api automation removes the need for obtaining a token completely.&amp;nbsp; You simply pass your client certificate with every rest-api call.&amp;nbsp; &amp;nbsp;Another advantage here over auth is token expiration. With no token involved with certificate based auth, your certificate will continuously work until it expires (typical default is 1 or 2 years).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You'll need to setup authorization policies for your certificate user (Certificate DN used as user identity) for the various endpoints you are trying to interact with through the rest-api.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 19:29:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Cloudera-Data-Analytics-CDA/API-Nifi-Token-SAML2/m-p/371619#M17</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-05-26T19:29:38Z</dc:date>
    </item>
  </channel>
</rss>

