IBM / ibm-cos-sdk-js

ibm-cos-sdk-js
Apache License 2.0
38 stars 19 forks source link

IBM COS Authentication issue #13

Closed kashyapravichandran closed 6 years ago

kashyapravichandran commented 6 years ago

I am trying to download an object from IBM COS using cURL commands. My curl command is as follow:

curl "https://s3.us-south.objectstorage.softlayer.net/phew/Kashyap Ravichandran" -H "Authorization: bearer 2dfgHxGJuFWm-l7GN5VjMrbf4-j7YLGUfACVGPh-pm7Z"

when i run this code i am getting error 403. Can somebody help me with this ??

Thanks in advance!

wbhuberIBM commented 6 years ago

@kashyap-ravichandran97 - this is not particularly an SDK issue, but here is the doc that should help you understand how to authenticate in making an IBM COS request using IAM:

https://console.bluemix.net/docs/iam/index.html#iamoverview