Let me give you bit background @tcole_splunk @gcusello , I've script to run as custom command and secrets are stored in password.conf with the help of setuppage. Now I am stuck where unable to read the secrets from password.conf to authenticate 3rd party API. I've used multiple ways to read password.conf however it is failing to connect at initial stage where it call to splunk rest api to retrieve passwords.conf details. Goal is to get the session key without passing the hardcoded values so can use. service = client.Service(token=session_key,host="127.0.0.1", port=8089)
... View more