Skip to content
This repository was archived by the owner on Aug 20, 2022. It is now read-only.
This repository was archived by the owner on Aug 20, 2022. It is now read-only.

AuthenticationError at Bluemix ObjectStorage #49

@alanbraz

Description

@alanbraz

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???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions