Splunk Cloud Platform

Encrypting credentials using REST endpoint and splunklib

assadabbas
Loves-to-Learn Lots

I am trying to store credentials in encrypted form as suggested in http://www.georgestarcher.com/splunk-stored-encrypted-credentials/ and https://wiki.splunk.com/Community:40GUIDevelopment . I am authenticating through session key to list and store storage-passwords and i am getting session key through cherrypy (cherrypy.session.get('sessionKey')).

The only issue i am facing right now is when i try to update an existing credential e.g: api key, I am getting error. The script is failing to delete the existing credential. And if it is not deleted, we cannot create a new credential with the same name (updating credential).

Any help would be appreciated

Labels (1)
0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...