Splunk Dev

How to encrypt and decrypt the password and username while connecting to Splunk from Java SDK without hard coding credentials?

New Member

I don't want to put hard coded password and user name on connecting to splunk from java sdk. How to encrypt and decrypt the password and user name?

0 Karma

0 Karma


Hello Brawal0, this is not much Splunk question as far I understood... but more a Java development thing. Have a look on this topic, it might give you some ideas how to securely store a password in a properties file:


0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...