Splunk Dev

How are passwords stored by Splunk Add-on builder?

anweshkumar12
Engager

I was trying to build an add-on using splunk add-on builder. We need to use api key to authenticate into a third party service. The question is how does splunk add-on builder store password? I created a password field and saw that the password.conf in local folder is being updated. Does this mean that password fields are encrypted and stored in password.conf? 
Any help will be really appreciated.

0 Karma
1 Solution

woodcock
Esteemed Legend

Yes, the PWs are stored in local passwords.conf file in the app using the "splunk.secret" encryption seed.  You can manually decrypt them like this:

$SPLUNK_HOME/bin/splunk show-decrypted --value 'YourPasswordHere'

View solution in original post

woodcock
Esteemed Legend

Yes, the PWs are stored in local passwords.conf file in the app using the "splunk.secret" encryption seed.  You can manually decrypt them like this:

$SPLUNK_HOME/bin/splunk show-decrypted --value 'YourPasswordHere'

Get Updates on the Splunk Community!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...