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
Legend

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
Legend

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

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...