Richard Jones
Richard Jones

Reputation: 61

Access IoT Edge Device Twin from Edge Module when using X.509 Authentication

Scenario:

IoT Edge Gateway provisioned using DPS & X.509 Authentication Leaf devices will use SAS key and will each have their own identity in IoT Hub

We need to access Edge Device Twin properties from an IoT Edge module. This would be possible if we used SAS authentication and had the connection string readily available, but we do not because Edge is provisioned and authenticated using X.509 How can we achieve this please? Thanks!

Upvotes: 2

Views: 281

Answers (1)

Venkat Yalla
Venkat Yalla

Reputation: 558

Accessing device twin from an IoT Edge module is not supported or recommended.

(Edit adding some more detail as to why):

IoT Edge's security/isolation model does not allow modules to access device-level twin by design as the operation needs higher elevation creds that modules don’t/shouldn’t have.

Upvotes: 2

Related Questions