Integration API Documentation
Table of Contents
integration.proto
Azure
For Azure IoT & Azure Device Provisioning Service
Field | Type | Label | Description |
---|---|---|---|
csrSigningCertificate | bytes | this is the certificate used to sign the CSR to issue device certificates | |
privateKey | bytes | this is the private key used to sign the CSR to issue device certificates |
Hawkbit
For Hawkbit Server
Field | Type | Label | Description |
---|---|---|---|
hawkbitURL | string | hawkbit server URL & port information e.g. https://localhost:8080 | |
username | string | username from Hawkbit server | |
password | string | password from Hawkbit server |
IntegrationDetails
IntegrationDetails contains information on integration with 3rd party platforms
Field | Type | Label | Description |
---|---|---|---|
hawkbitTargetSecretKey | string | a target in Hawkbit is device, when a device is pre-provisioned it will create a secret key which is specific to each device | |
deviceCertificateSigningRequest | string | this is the certificate signing request received from the agent. | |
deviceCertificate | bytes | if Azure is enabled, and agent is approved, scurid server will sign the request to generate the certificate, which we can store here | |
integrationStatus | IntegrationStatus | ||
thingworxApplicationKey | string | this is the device application key issued from ThingWorx | |
thingworxAppKeyName | string | this is the name of the app key in ThingWorx | |
csrCustom | certificate.v1.CSRCustom | this is the custom CSR information |
IntegrationStatus
IntegrationStatus should be used to track which 3rd party integrations are enabled.
Field | Type | Label | Description |
---|---|---|---|
thingWorxEnabled | bool | is thingworx integration enabled | |
hawkbitEnabled | bool | is hawkbit integration enabled | |
azureEnabled | bool | is azure integration enabled |
ThingWorx
For Thingworx Server
Field | Type | Label | Description |
---|---|---|---|
thingWorxURL | string | thingworx server and port information e.g. https://localhost:443/Thingworx | |
appKey | string | thingworx app key created for Scurid server to authenticate with | |
useThingWorxEntityNameToDownloadAppKey | bool | if true, then the app key will be downloaded from thingworx using the entity name |