Splunk Cloud

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