I followed this information to create HMAC keys for my instance of IBM Cloud Object Storage (COS). I am using the Python SDK for IBM COS. How can I create presigned URIs (links), so that users can upload or download files without authentication?
I am trying to provide the HMAC credentials as part of the client parameters, but I receive errors like the following:
File "/usr/lib/python2.7/site-packages/ibm_botocore/config.py", line 142, in _record_user_provided_options 'Got unexpected keyword argument \'%s\'' % key) TypeError: Got unexpected keyword argument 'cos_hmac_keys'
Here is the HMAC keys structure:
"cos_hmac_keys": {
"access_key_id": "dfe869efasdasd",
"secret_access_key": "f04e500a66asdasdasd5bfd34c82"
}