Skip to content
JM Valino
selected work
Provisioning 2024 Architect & Engineer

Device Provisioning & Onboarding Pipeline

An automated pipeline for bringing devices from manufacture to managed — identity, certificates, and policy provisioned just-in-time, with the full lifecycle designed up front.

AWS IoT Core JITP Security TypeScript

A non-confidential, case-study-style overview. Specifics are generalized.

Problem

Onboarding was manual and didn’t scale. Each device required hand-registration before it could connect, and there was no coherent story for certificate rotation, revocation, or audit once devices were in the field. Shipping the next batch of devices meant more manual work and more risk.

Decisions

  • Adopted just-in-time provisioning: devices ship with a certificate signed by a registered CA, and identity, policy, and state are provisioned on first connection from a template.
  • Treated onboarding as a full lifecycle — not just day-one provisioning, but rotation, revocation, and audit designed in from the start.
  • Made policy decisions explicit in the provisioning template rather than hidden in defaults, so each device class got least-privilege access.
  • Built the pipeline so adding a device class was configuration, with identity and trust rooted in a CA hierarchy genuinely under control.

Tradeoffs

  • JITP removed per-device pre-registration but required a manufacturing flow that could inject per-device key material — coordination cost in exchange for scale.
  • Designing rotation and revocation up front was more work than provisioning alone, but avoided a painful retrofit once a large fleet existed.
  • Explicit per-class policies meant more templates to maintain, traded for a far smaller security blast radius.

Outcome

Onboarding went from a manual gate to an automated, auditable pipeline. New devices came online securely on first connection, certificates could be rotated and revoked as a routine operation, and shipping the next hundred thousand devices stopped being a scaling problem.

Technologies

AWS IoT Core · Just-in-Time Provisioning (JITP) · certificate lifecycle · least-privilege device policy · TypeScript.