<?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 Splunk JS SDK password API response returns plain password in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-JS-SDK-password-API-response-returns-plain-password/m-p/543974#M9751</link>
    <description>&lt;P&gt;I have used Splunk setup view as a replacement of setup.xml.&lt;/P&gt;&lt;P&gt;For this, I have used Splunk JS SDK. I have a password field on the setup page. JS SDK saves the encrypted password in the '&lt;STRONG&gt;local/FILENAME.conf&lt;/STRONG&gt;' file.&lt;/P&gt;&lt;P&gt;This JS SDK internally calls Splunk API. The password API(&lt;STRONG&gt;https://{HOST_NAME}/en-US/splunkd/__raw/servicesNS/nobody/{TA_NAME}/storage/passwords?count=0&amp;amp;output_mode=json&lt;/STRONG&gt;) response returns both plain password &amp;amp; encrypted password.&lt;/P&gt;&lt;P&gt;How to avoid plain password in Splunk's password API response?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 10:51:37 GMT</pubDate>
    <dc:creator>mbachhav</dc:creator>
    <dc:date>2021-03-16T10:51:37Z</dc:date>
    <item>
      <title>Splunk JS SDK password API response returns plain password</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-JS-SDK-password-API-response-returns-plain-password/m-p/543974#M9751</link>
      <description>&lt;P&gt;I have used Splunk setup view as a replacement of setup.xml.&lt;/P&gt;&lt;P&gt;For this, I have used Splunk JS SDK. I have a password field on the setup page. JS SDK saves the encrypted password in the '&lt;STRONG&gt;local/FILENAME.conf&lt;/STRONG&gt;' file.&lt;/P&gt;&lt;P&gt;This JS SDK internally calls Splunk API. The password API(&lt;STRONG&gt;https://{HOST_NAME}/en-US/splunkd/__raw/servicesNS/nobody/{TA_NAME}/storage/passwords?count=0&amp;amp;output_mode=json&lt;/STRONG&gt;) response returns both plain password &amp;amp; encrypted password.&lt;/P&gt;&lt;P&gt;How to avoid plain password in Splunk's password API response?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 10:51:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-JS-SDK-password-API-response-returns-plain-password/m-p/543974#M9751</guid>
      <dc:creator>mbachhav</dc:creator>
      <dc:date>2021-03-16T10:51:37Z</dc:date>
    </item>
  </channel>
</rss>

