I am using the openstack-swift api to interact with SoftLayer Object
storage. However the authentication is failing.

I see the payload for the POST request to get the token is in the below
format

"{"auth":{"passwordCredentials":{"username":"USERID","password":"API_KEY"},"tenantName":"ACC-278436-15"}}"

This does not work for SL. The SL spec requires it to be a GET with headers

"X-Auth-User: ACC-278436-15:USERID"
"X-Auth-Key: API_KEY"

Is there a way I can switch/plugin a different authentication mechanism for
SoftLayer or should I use the blobstore api directly instead of swift api ?

Let me know.

Rgds
Jai

Reply via email to