Hi Jai,

please try with

identity=tenantname:user
credential=api_key

Notice, you'll probably need to point at something like

https://<locationId>.objectstorage.softlayer.net/auth/v1.0

where locationId is something like `ams01` or `dal01`

Best,
Andrea

On Fri, Oct 17, 2014 at 4:30 PM, Jai M <jaiganes...@gmail.com> wrote:
> 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