Splunk Dev

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

cloudpassage
New Member

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

service.storage_passwords.create(secret_key,api_key)

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

micahkemp
Champion

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
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...