<?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 Storing and using passwords in a Custom Alert Action in Security</title>
    <link>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/289648#M7728</link>
    <description>&lt;P&gt;I've got a set of custom alert actions that when invoked, will fire off a python script that (among other things) makes a REST call out to a server that requires authentication.&lt;/P&gt;

&lt;P&gt;As part of the design, I've defined a global configuration page (setup.xml) that will take in a username, and a secret value password. What I'd like to do is have that password stored securely, and then retrieved in my script, appended to the username, and base64'd to be included in the basic auth. header of my REST call.&lt;/P&gt;

&lt;P&gt;What is the best practice for taking as a global input a password, storing those credentials, and then retrieving those credentials as part of a custom alert action? Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2017 16:29:45 GMT</pubDate>
    <dc:creator>jack_burton</dc:creator>
    <dc:date>2017-07-05T16:29:45Z</dc:date>
    <item>
      <title>Storing and using passwords in a Custom Alert Action</title>
      <link>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/289648#M7728</link>
      <description>&lt;P&gt;I've got a set of custom alert actions that when invoked, will fire off a python script that (among other things) makes a REST call out to a server that requires authentication.&lt;/P&gt;

&lt;P&gt;As part of the design, I've defined a global configuration page (setup.xml) that will take in a username, and a secret value password. What I'd like to do is have that password stored securely, and then retrieved in my script, appended to the username, and base64'd to be included in the basic auth. header of my REST call.&lt;/P&gt;

&lt;P&gt;What is the best practice for taking as a global input a password, storing those credentials, and then retrieving those credentials as part of a custom alert action? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/289648#M7728</guid>
      <dc:creator>jack_burton</dc:creator>
      <dc:date>2017-07-05T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Storing and using passwords in a Custom Alert Action</title>
      <link>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/289649#M7729</link>
      <description>&lt;P&gt;George Starcher has an excellent blog post on this subject.  See &lt;A href="http://www.georgestarcher.com/splunk-stored-encrypted-credentials/"&gt;http://www.georgestarcher.com/splunk-stored-encrypted-credentials/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/289649#M7729</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-07-05T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Storing and using passwords in a Custom Alert Action</title>
      <link>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/590871#M16026</link>
      <description>&lt;P&gt;If the original link doesn't load, the Way Back Machine has an archive here&amp;nbsp;&lt;A href="https://web.archive.org/web/20210417061309/http://www.georgestarcher.com/splunk-stored-encrypted-credentials/" target="_blank"&gt;https://web.archive.org/web/20210417061309/http://www.georgestarcher.com/splunk-stored-encrypted-credentials/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 14:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Storing-and-using-passwords-in-a-Custom-Alert-Action/m-p/590871#M16026</guid>
      <dc:creator>ttam_splunk</dc:creator>
      <dc:date>2022-03-25T14:43:57Z</dc:date>
    </item>
  </channel>
</rss>

