Getting Data In

Securely store API key for modular input app?

koocies
Path Finder

Hello all,

I'm writing my first Modular Input app, and I'm wondering what's the best way to store a REST API key for my python script? I've seen mention that the key can be stored within splunk and retrieved by the script, but no solid explanation on how to do that.

Can anyone provide a secure method?

 

Thank you

Labels (1)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi toocies,

Take a look here https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/secretstorage/ this has some good examples for your use case.

 

Hope this helps ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi toocies,

Take a look here https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/secretstorage/ this has some good examples for your use case.

 

Hope this helps ...

cheers, MuS

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Cisco Data Fabric from Architecture to Investigation, Better SOC Visibility, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

The Trust Gap: Why a Data Foundation is Fundamental to an Agentic Enterprise

The Trust Gap: Why a data foundation is fundamental to an  Agentic Enterprise.   Agentic AI is transforming ...

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...