Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credential dictionary and key alignment #40

Open
gadamc opened this issue Oct 24, 2017 · 0 comments
Open

Credential dictionary and key alignment #40

gadamc opened this issue Oct 24, 2017 · 0 comments
Assignees

Comments

@gadamc
Copy link
Collaborator

gadamc commented Oct 24, 2017

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

@gadamc gadamc assigned gadamc and bassel-zeidan and unassigned gadamc Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants