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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...