Security

Storing and using passwords in a Custom Alert Action

jack_burton
New Member

I've got a set of custom alert actions that when invoked, will fire off a python script that (among other things) makes a REST call out to a server that requires authentication.

As part of the design, I've defined a global configuration page (setup.xml) that will take in a username, and a secret value password. What I'd like to do is have that password stored securely, and then retrieved in my script, appended to the username, and base64'd to be included in the basic auth. header of my REST call.

What is the best practice for taking as a global input a password, storing those credentials, and then retrieving those credentials as part of a custom alert action? Thanks!

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

George Starcher has an excellent blog post on this subject. See http://www.georgestarcher.com/splunk-stored-encrypted-credentials/

---
If this reply helps you, Karma would be appreciated.

View solution in original post

Tags (2)

richgalloway
SplunkTrust
SplunkTrust

George Starcher has an excellent blog post on this subject. See http://www.georgestarcher.com/splunk-stored-encrypted-credentials/

---
If this reply helps you, Karma would be appreciated.
Tags (2)

ttam_splunk
Splunk Employee
Splunk Employee

If the original link doesn't load, the Way Back Machine has an archive here https://web.archive.org/web/20210417061309/http://www.georgestarcher.com/splunk-stored-encrypted-cre...

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 ...