Developing for Splunk Enterprise

Why is the passwords.conf is stored at /etc/apps/search/local instead of /{app_name}/local/?

New Member

I'm using splunk python sdk to store encrypt and store my password.


However, the passwords.conf was not created in my local folder, instead, it's stored in /etc/apps/search/local.

Any idea why? and how I can config the app so that it will store the passwords.conf in my /{APP}/local folder?

0 Karma


When you create your client connection, pass your app path in the app parameter.

For example:

s = client.connect(username="boris", password="natasha", app="yourapp")
0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!