Skip to content

Credential dictionary and key alignment #40

@gadamc

Description

@gadamc

In our version of COS, we supply credentials with the following keys:

credentials = {
    'endpoint': 'XXX',
    'api_key': 'XXX',
    'service_id': 'XXX'
}

However, on bluemix, when viewing a set of Service Credentials for the service, the keys are in a different format:

{
  "apikey": "",
  "endpoints": "https://cos-service.bluemix.net/endpoints",
  "iam_apikey_description": "",
  "iam_apikey_name": "",
  "iam_role_crn": "r",
  "iam_serviceid_crn": "",
  "resource_instance_id": ""
}

Are these suppose to match? Is "service_id" the same as "resource_instance_id"?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions