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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...