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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...