Sunday, March 19, 2017

IoT Device Identity Management

With data, devices, documents and any other management
there is always a need for "unique identifiers".
With billions of IoT devices that is even more critical, and harder to do right.

Current useful identity properties
  • SSN (USA Social Security Number)
  • VIN number for cars
  • MAC network address
  • IPv6 address
  • GUID
  • Serial Number for class of device models (not globally unique, less useful)
IoT Device Identity Management | DigiCert.com

identity-and-access-management-for-the-iot.pdf

Gartner Names Okta a Leader for Third Year Running in Gartner's IDaaS Magic Quadrant
 Identity and Access Management as a Service (IDaaS)



Identity and Security Management for the Internet of Things @ GlobalSign


IoT Cloud: AWS "Device Shadows", Azure "Device Twins"

Device Shadows for AWS IoT - AWS IoT

"A thing shadow (sometimes referred to as a device shadow) is a JSON document that is used to store and retrieve current state information for a thing (device, app, and so on). The Thing Shadows service maintains a thing shadow for each thing you connect to AWS IoT. You can use thing shadows to get and set the state of a thing over MQTT or HTTP, regardless of whether the thing is connected to the Internet. Each thing shadow is uniquely identified by its name."

{
    "state" : {
        "desired" : {
          "color" : "RED",
          "sequence" : [ "RED", "GREEN", "BLUE" ]
        },
        "reported" : {
          "color" : "GREEN"
        }
    },
    "metadata" : {
        "desired" : {
            "color" : {
                "timestamp" : 12345
            },
            "sequence" : {
                "timestamp" : 12345
            }
        },
        "reported" : {
            "color" : {
                "timestamp" : 12345
            }
        }
    },
    "version" : 10,
    "clientToken" : "UniqueClientToken",
    "timestamp": 123456789
}




"AWS IoT provides a thing registry that helps you manage your things. A thing is a representation of a specific device or logical entity. It can be a physical device or sensor (for example, a light bulb or a switch on a wall). It can also be a logical entity like an instance of an application or physical entity that does not connect to AWS IoT but is related to other devices that do (for example, a car that has engine sensors or a control panel)."


{

    "version": 3, 

    "thingName": "MyLightBulb", 
    "defaultClientId": "MyLightBulb", 
    "thingTypeName": "LightBulb", 
    "attributes": {
        "model": "123", 
        "wattage": "75"
    }
}


***

Get started with Azure IoT Hub device twins (Node) | Microsoft Docs

"Device twins are JSON documents that store device state information (metadata, configurations, and conditions). IoT Hub persists a device twin for each device that you connect to IoT Hub."

Tesla: battery upgrade via software update

Another "first" from Tesla: upgrading hardware (battery capacity) over the internet.
Pay over web account, and the car get's longer range.
Essentially the capacity is limited by software.

Tesla — 75 kWh Battery Capacity Upgrade

Order a Tesla Model S | Tesla


Tesla discontinuing Model S 60 and 60D on April 17, ahead of Model 3 ramp

Tesla is discontinuing its cheapest car, the 60kWh Model S - The Verge

HP or TI calculators during 80's used to do such trick with memory.
TI-59 / TI-58 - Wikipedia

Microsoft did this with Windows NT server & workstation ware the same except for a config flag.