0

I need to programmmtically create topics - see my other question here: MessageHub - api for creating topics?

The MessageHub Management API requires an apiKey to interact with it.

How do I generate an API key? I'm guessing this is a generic bluemix authentication service, but I'm not sure where this resides or how I can interact with it.

Community
  • 1
  • 1
Chris Snow
  • 20,818
  • 29
  • 115
  • 263

1 Answers1

1

Go to the Bluemix console and navigate to Message Hub’s Bluemix dashboard by clicking on your service. Then switch to the “Service Credentials” tab and you should see some json properties as Credentials-1. The 48 character api_key is what you need.

example credentials

Chris Snow
  • 20,818
  • 29
  • 115
  • 263
Dominic Evans
  • 370
  • 1
  • 4
  • Thanks again Dominic. This is useful info, though I would really like to get this information programatically. See here: http://stackoverflow.com/questions/40322068/bluemix-cf-api-to-retrieve-the-service-credentials – Chris Snow Oct 29 '16 at 18:09