Doug Tidwell
Doug Tidwell

Reputation: 1

Can I get the OpenWhisk Authorization token from the Bluemix web UI?

I've deployed an OpenWhisk action and am successfully invoking it via the request package in a node application. To get things to work I have to pass along an Authorization header in the HTTP request. The value of that header is the base64-encoded version of userid:password.

I can calculate that value at the command line or I can use the -v option of the wsk command to get it, but I can't find it anywhere in the Bluemix web UI. I'm putting together some training materials and would rather not send my users to the command line if I can help it.

Does anybody know how to get this value through the Bluemix UI? If it's there, I haven't seen it.

Upvotes: 0

Views: 198

Answers (1)

markusthoemmes
markusthoemmes

Reputation: 3120

Just navigate to the CLI setup page on Bluemix. You'll find a box containing the commands to setup your CLI for local usage. That one contains the API key.

Upvotes: 1

Related Questions