SpecsModelExploreRequirements
SpecsModelExploreRequirements
Device Repository
Overview
Guide
Schema
Twin streams
Links and Communications
IDproduct.device_management.registry_service.device_repo
DescriptionPersists device metadata and certificates.
Keydevice_repo
Typecomponent:database
Statusactive
TeamDevice Management
Owner
device-mgmt@iotgateway.example
TechnologiesPostgreSQL
Tags
Table of contents
Guide
Device Repository
Data model
Notes
Schema
Links and Communications
Requirements

Attributes

retentionlifetime
storePostgreSQL

Guide

Device Repository

The Device Repository is the relational store behind the Device Registry. It holds the durable facts about every device: its identity, the certificates it presents, and the groups it belongs to for targeting and access control.

Storage profile

PostgreSQL, single logical database with read replicas. Device records are kept for the lifetime of the device (including retired) for audit and warranty traceability.

Data model

The schema is intentionally small — identity, certificates and grouping. The ERD is embedded on the Overview tab.

Notes

  • CERTIFICATE.fingerprint is unique and is the value ingestion matches on at connect time.
  • A device can hold more than one certificate during rotation; exactly one is active at a time.
  • Grouping (DEVICE_GROUP) feeds OTA cohort targeting and dashboard filters.

Schema

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
100%

Links and Communications

2 incoming links

Incoming Links(2)

Source objectLabelLink typeRelationRaw idRequiredDescription
Connection State Tracker

example-iot.product.device_management.registry_service.state_tracker

component
tracks state in—linksproduct.device_management.registry_service.device_repo——
Twin Store

example-iot.product.device_management.registry_service.twin_store

component:database
stores twins in—linksproduct.device_management.registry_service.device_repo——

Requirements