<?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>topic Ecosystem token question in HPE Ezmeral Software platform</title>
    <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/ecosystem-token-question/m-p/7119320#M29</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;could you please explain how to manually generate token for mapr ecosystem components?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 10:13:38 GMT</pubDate>
    <dc:creator>prusyn</dc:creator>
    <dc:date>2021-02-01T10:13:38Z</dc:date>
    <item>
      <title>Ecosystem token question</title>
      <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/ecosystem-token-question/m-p/7119320#M29</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;could you please explain how to manually generate token for mapr ecosystem components?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-ezmeral-software-platform/ecosystem-token-question/m-p/7119320#M29</guid>
      <dc:creator>prusyn</dc:creator>
      <dc:date>2021-02-01T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ecosystem token question</title>
      <link>https://community.hpe.com/t5/hpe-ezmeral-software-platform/ecosystem-token-question/m-p/7119321#M30</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Token generation:&lt;/STRONG&gt;&lt;BR /&gt;sh&lt;BR /&gt;java -cp $(mapr classpath) com.mapr.security.client.examples.MapRClient gettoken -cluster "&amp;lt;cluster-name&amp;gt;" -url "&amp;lt;service-url&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resourse Manager :&lt;/STRONG&gt;&lt;BR /&gt;sh&lt;BR /&gt;java -cp $(mapr classpath) com.mapr.security.client.examples.MapRClient gettoken -cluster cyber.mapr.cluster -url "&lt;A href="https://node6.cluster.com:8090/ws/v1/cluster" target="_blank"&gt;https://node6.cluster.com:8090/ws/v1/cluster&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Full example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sh&lt;BR /&gt;TOKEN=$(java -cp `mapr classpath` com.mapr.security.client.examples.MapRClient gettoken -cluster cyber.mapr.cluster -url "&lt;A href="https://node6.cluster.com:8090/ws/v1/cluster" target="_blank"&gt;https://node6.cluster.com:8090/ws/v1/cluster&lt;/A&gt;" | grep 'Obtained challenge string' | sed -E 's/Obtained challenge string (.*)/\1/')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Use token once&lt;/STRONG&gt;&lt;BR /&gt;curl -s -k -H "Authorization: MAPR-Negotiate $TOKEN" &lt;A href="https://node6.cluster.com:8090/ws/v1/cluster" target="_blank"&gt;https://node6.cluster.com:8090/ws/v1/cluster&lt;/A&gt; | python -m json.tool&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Use token and save authentication cookie&lt;/STRONG&gt;&lt;BR /&gt;curl -s -k -H "Authorization: MAPR-Negotiate $TOKEN" -c ./rm.cookie &lt;A href="https://node6.cluster.com:8090/ws/v1/cluster" target="_blank"&gt;https://node6.cluster.com:8090/ws/v1/cluster&lt;/A&gt; | python -m json.tool&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Access this resource using saved cookie&lt;/STRONG&gt;&lt;BR /&gt;curl -s -k -b ./rm.cookie &lt;A href="https://node6.cluster.com:8090/ws/v1/cluster" target="_blank"&gt;https://node6.cluster.com:8090/ws/v1/cluster&lt;/A&gt; | python -m json.tool&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-ezmeral-software-platform/ecosystem-token-question/m-p/7119321#M30</guid>
      <dc:creator>maksym_oliinyk</dc:creator>
      <dc:date>2021-02-01T10:18:26Z</dc:date>
    </item>
  </channel>
</rss>

