Hey shailseshami, maybe we can figure this out together. Did you use the App UI to set up your initial configuration including the "Friendly Name", "Access Key" and "Secret Key"? I did and do not have this error you're reporting.
The best that I can tell this UI 'Set up' modifies the $SPLUNK_HOME/etc/apps/Splunk_TA_aws/local/app.conf file. However, it isn't clear to me how this file is used in s3util.py.
For me, I did use the App's "Set Up" UI to add my "Friendly Name", "AWS Account Key ID" and "AWS Account Secret Key".
Also, it wasn't clear to me from the instructions provided in the OP if this line needed to be changed with the variables from my specific configuration:
def connect_s3(key_id,secret_key,session_key,host="vault.scansafe.com",is_secure=True):
Do I add my Key ID, Secret Key in this line? If so, what is the Session key?
... View more