Skip to content

[Technical Question] Authenticate to IoT Hub using Azure Identity Service with DPS and x509 certificates #1243

@Studio5086

Description

@Studio5086

Hello,

is there any way to get the SDK working with the azure identity service when using x509 certificates and a DPS for authentication? I tried using the aziot_keys engine, but I have not had any luck on getting this working. The furthest I've gotten is that the client.open works when using AMQP with privateKeyEngine: 'aziot_keys' and privateKeyIdentifier: keyHandle, but once I try to retrieve the twin I'm getting
AMQP condition : amqp:unauthorized-access
AMQP description: Unauthorized access

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions