<?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 Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186338#M37331</link>
    <description>&lt;P&gt;What is the "xor 'DEFAULTSADEFAULTSA....'" string we xor with?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 14:26:27 GMT</pubDate>
    <dc:creator>dougmartin</dc:creator>
    <dc:date>2016-04-12T14:26:27Z</dc:date>
    <item>
      <title>How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186331#M37324</link>
      <description>&lt;P&gt;Could someone please document how the Splunk passwords are encrypted (in inputs and outputs.conf) so that we can setup our configuration management tools (Chef, Puppet etc...) to properly encrypt the passwords in the conf files without provisioning clear password and restarting Splunk a each chef run?&lt;/P&gt;

&lt;P&gt;Just a shell, perl, python or other example using the etc/auth/splunk.secret would help a LOT &lt;/P&gt;

&lt;P&gt;we figured out how dbconnect does (even had to fix a bug when passwords contains a "=") - can't find any details on the $1$xxxxxxxxxx passwords used in inputs.conf and outputs.conf&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 07:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186331#M37324</guid>
      <dc:creator>samlll42</dc:creator>
      <dc:date>2014-08-19T07:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186332#M37325</link>
      <description>&lt;P&gt;Make sure you are grabbing the matching splunk.secret from $splunk_home/etc/auth then you can deploy the config files with the hashes already in place.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 12:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186332#M37325</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2014-08-19T12:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186333#M37326</link>
      <description>&lt;P&gt;Thanks - I understand splunk.secret is the key. The question is how can a inputs/outputs.conf password be encoded with the key - what exact algorithm is used?&lt;/P&gt;

&lt;P&gt;I don't have a problem propagating the secret from one server to another. I just want to provision encoded passwords when I run chef, without having to pre-encoded them and always use the same splunk secret.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 19:57:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186333#M37326</guid>
      <dc:creator>samlll42</dc:creator>
      <dc:date>2014-08-19T19:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186334#M37327</link>
      <description>&lt;P&gt;I would say just use a test instance of Splunk that has the desired splunk.secret in place. Set the password then copy the resulting encrypted section out. Then push both splunk.secret and the conf file together. Working fine for us with Puppet.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 21:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186334#M37327</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2014-08-19T21:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186335#M37328</link>
      <description>&lt;P&gt;Thanks - thats a possibility that we have thought about, we would still prefer to know how the password is encrypted so we can just encrypt it dynamically and change it dynamically on a regular basis. We are doing it just fine with DB Connect. Some of our customers require regular service account password changes for regulatory reasons.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 21:12:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186335#M37328</guid>
      <dc:creator>samlll42</dc:creator>
      <dc:date>2014-08-19T21:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186336#M37329</link>
      <description>&lt;P&gt;Here is the DOC :&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Security/Deploysecurepasswordsacrossmultipleservers"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Security/Deploysecurepasswordsacrossmultipleservers&lt;/A&gt;&lt;BR /&gt;
the password to be encrypted are usually :  the one for ssl in outputs.conf, in inputs.conf, in web.conf, and the ldap bind passwor din authorize.conf&lt;/P&gt;

&lt;P&gt;To clarify the behavior &lt;BR /&gt;
When splunk starts,&lt;BR /&gt;
If it finds a password field, it will check if it is encrypted of in clear.&lt;BR /&gt;
- if encrypted, it will leave it&lt;BR /&gt;
- if encrypted and if the splunk.secret cannot decrypt it, splunk will report an error in splunkd.log and disable ssl.&lt;BR /&gt;
- If in clear, splunk will encrypt it using the “$SPLUNK_HOME/etc/auth/splunk.secret”&lt;BR /&gt;
the password will be saved in the “local” configuration (it will not touch the "default”)&lt;/P&gt;

&lt;P&gt;The consequences are :&lt;BR /&gt;
- you may have an encrypted password in local, and a clear one in default or you may end-up with an encrypted one on local only.&lt;BR /&gt;
- If you are copying a configuration from a forwarder to another, it may not be able to decrypt the password.&lt;BR /&gt;
- If the configuration contains a clear password and is pushed by a deployment server, then it will be encrypted on the forwarder, therefore modify the file and may force a looping resinstallayion if you deployment tool are checking the CRC of the files (chef, puppet, or splunkdeployment server)&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 16:23:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186336#M37329</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-05-13T16:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186337#M37330</link>
      <description>&lt;P&gt;Challenge accepted. Problem solved.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://maratto.blogspot.com/2016/03/reverse-engineering-splunk-password.html"&gt;http://maratto.blogspot.com/2016/03/reverse-engineering-splunk-password.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 16:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186337#M37330</guid>
      <dc:creator>keinoda</dc:creator>
      <dc:date>2016-03-18T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186338#M37331</link>
      <description>&lt;P&gt;What is the "xor 'DEFAULTSADEFAULTSA....'" string we xor with?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186338#M37331</guid>
      <dc:creator>dougmartin</dc:creator>
      <dc:date>2016-04-12T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186339#M37332</link>
      <description>&lt;P&gt;I read this as just the string DEFAULTSA repeating to match the length of the string constructed by joining the first 16 bytes of the splunk.secret and your plaintext password.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 20:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/186339#M37332</guid>
      <dc:creator>dmourati</dc:creator>
      <dc:date>2016-05-10T20:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/602744#M104925</link>
      <description>&lt;P&gt;Working link at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Security/Deploysecurepasswordsacrossmultipleservers" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Security/Deploysecurepasswordsacrossmultipleservers&lt;/A&gt;&amp;nbsp;now&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 06:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/602744#M104925</guid>
      <dc:creator>Georgiev</dc:creator>
      <dc:date>2022-06-22T06:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: How are Splunk passwords encrypted in inputs.conf and outputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/602750#M104927</link>
      <description>&lt;P&gt;And link to instructions how to generate hashed password on cli&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Security/Secureyouradminaccount#Create_admin_credentials_for_automated_installations_with_the_.27hash-passwd.27_CLI_command" target="_blank"&gt;Create admin credentials for automated installations with the 'hash-passwd' CLI command&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 08:36:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-are-Splunk-passwords-encrypted-in-inputs-conf-and-outputs/m-p/602750#M104927</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-06-22T08:36:29Z</dc:date>
    </item>
  </channel>
</rss>

