Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 782 Bytes

File metadata and controls

21 lines (19 loc) · 782 Bytes
title include file
description include file
services iot-central
author dominicbetts
ms.service azure-iot-central
ms.topic include
ms.date 11/03/2020
ms.author dobett
ms.custom include file

Set the environment variables to configure the sample. The following snippet shows how set the environment variables at the Windows command prompt. If you're using a bash shell, replace the set commands with export commands:

set IOTHUB_DEVICE_SECURITY_TYPE=DPS
set IOTHUB_DEVICE_DPS_ID_SCOPE=<The ID scope you made a note of previously>
set IOTHUB_DEVICE_DPS_DEVICE_ID=sample-device-01
set IOTHUB_DEVICE_DPS_DEVICE_KEY=<The generated device key you made a note of previously>
set IOTHUB_DEVICE_DPS_ENDPOINT=global.azure-devices-provisioning.net