softlayer-object-storage-python icon indicating copy to clipboard operation
softlayer-object-storage-python copied to clipboard

AuthenticationError at Bluemix ObjectStorage

Open alanbraz opened this issue 8 years ago • 1 comments

Failing to connect using sl_storage = object_storage.get_client('YOUR_USERNAME', 'YOUR_API_KEY', datacenter='dal05')

Don't know which credentials to use. Here is what my Bluemix OS credentials looks like

{
  "auth_url": "https://identity.open.softlayer.com",
  "project": "object_storage_072d5151_ee1a_4432_afa8_e822cbaa146c",
  "projectId": "1af89xxxxx1853",
  "region": "dallas",
  "userId": "fdcd47xxxxx9a60b3ac5",
  "username": "member_aa460xxxxxxx0d5b70",
  "password": "*******",
  "domainId": "c4exxxxxxx1338",
  "domainName": "10xxxx61",
  "role": "member"
}

I tried the userIdand username as YOUR_USERNAME and password as YOUR_API_KEY. And always got AuthenticationError: Invalid Credentials

Anything I am doing wrong here or any code must be updated???

alanbraz avatar Mar 08 '17 22:03 alanbraz

I can confirm that I'm also hitting this issue however intermittently

mrmcmuffinz avatar Jun 26 '17 18:06 mrmcmuffinz