TLS With Token

Prerequisites

Before starting this exercise, ensure you have:

  • Access to Maximo Monitor

Important Notes

Warning

  • When you want to send data to device using username and password, you must use TLS with Token connection security level.
  • TLS with Token is a default option for security level.

Configure Connection Security Level

  1. Navigate to Setup > IoT Security Navigate to API Keys
  2. By Default TLS with Token selected as Connection security level Navigate to API Keys
  3. Click on Save button
  4. Follow create a DeviceType (Steps to create DeviceType) and devices (Steps to create Device)
  5. New device has username and password(token) generated. Keep those username and password for future use.
  6. Add metric and event on device type (Steps to add metric)
  7. Now you can use Swagger UI (Selecy API Docs Menu and select HTTP Messaging API click on View APIs) or any messaging tool like MQTTX to test device authentication using username and password.
  8. Provide parameters in swagger document or add topic in MQTTX for device and send data.
  9. Once you send data, data should be shown in device recent event and data table. Device Recent Navigate to API Keys Device Data Table Navigate to API Keys

Next Steps

After configuring TLS with token authentication, you may want to:


Related Topics: - Generate API Key - Edit API Key - Delete API Key