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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...