Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Node-RED ibmiot API Key authentication

270007QAEF gravatar image
Question by Vincent Ong  (41) | Feb 02, 2015 at 10:30 PM iotnode-redibmiot

Hi,

I'm working on a poc with IoT foundation, MQTT js, Node-RED. The requirement there is only 1 device publishing to IoT foundation, and the data is supposed to be consumed by a few Node-RED based app via ibmiot input node. The Node-RED apps will be sitting in different bluemix organization. So, the relationship is as below:

1 device/iot foundation : * Node-RED app

I tested with * Node-RED apps in the same bluemix organization with ibmiot input node Bluemix service Authetication and it works just fine. API Key authentication seems for this purpose. But I have no luck setting it up. Anybody tried API Key authentication?

Vincent

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

2 answers

  • Sort: 
2000000VST gravatar image

Answer by Amit M Mangalvedkar (1199) | Feb 02, 2015 at 11:19 PM

Hi Vincent

So you have an ioT device say having an orgid "abcdef" and device id "0123456789ab", registered in a Bluemix service. You want the device events of the above device to be sent to the other Bluemix service, having an orgid, say "ghijkl". I believe this is you case. If thats the case, I am elaborating the steps below,

  1. Drag and drop the ibmiot in node on the workspace.

  2. Double-click on the above dragged ibmiot node. This opens the node for editing.

  3. For the Authentication drop-down, select "API Key". This would make visible the "API Key" drop-down.

  4. Select the "Add new ibmiot..." from the drop down.

  5. Click the "Pen" button next to the drop-down.

  6. Provide a name and enter the API Key and API Token of the "other" Bluemix service, i.e. API key token of "ghijkl" org.

  7. Click Ok and connect this to debug node.

  8. Save the workspace.

In case this is not what you want, could you please specify with screenshots the exact requirements?

Thanks and regards
Amit M Mangalvedkar

Comment
ValerieLampkin
MacPolimi

People who like this

  2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270007QAEF gravatar image

Answer by Vincent Ong (41) | Feb 03, 2015 at 07:12 PM

Thanks Amit. I think the part that I got it different from the steps you provided is step 6. Instead of API key token of "ghijkl" org, I use API Key token from "abcdef" org. My thinking was since I'm sharing IoT data from "abcdef" org, other Node-RED ibmiot input node ("ghijkl", "mnopqr", etc) should all user "abcdef" tokens? Not sure, let me try your steps and see it works this time...:)

Vincent

Comment

People who like this

  0   Show 2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
2000000VST gravatar image Amit M Mangalvedkar (1199)   Feb 04, 2015 at 08:21 PM 0
Share

Hi Vincent,

Did the approach suggested by me resolve your problem? Or are you still facing some issues

Thanks and Regards
Amit M Mangalvedkar

2000000VST gravatar image Amit M Mangalvedkar (1199)   Feb 07, 2015 at 01:44 AM 0
Share

Hi Vincent,

In case the steps that we provided resolved your issue, could you please accept the answer, so that we can close this question?

Thanks and Regards
Amit M Mangalvedkar

Follow this question

20 people are following this question.

Answers

Answers & comments

Related questions

Inside Node-Red IbmIot Node does not display Bluemix as an Authentication Option 1 Answer

IoT Node-RED sample not showing debug data 2 Answers

Is there an example showing how to use an HTTP POST with headers in Node-RED? 2 Answers

How many HTTP requests per second can a 512mb RAM Node-RED handle ? 0 Answers

Warnings preventing install of IBM IoT NodeRed node on Raspberry Pi 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges