Skip to main content

DSK Agent Edge Configuration Options

This page gives an overview of the available Configuration Options for the DSK Agent Edge.

Common Options#

Config OptionExpected ValueSample value
Logging__LogLevel__DefaultLog level of the complete applicationLogLevel

MQTT Options#

Config OptionExpected ValueSample value
MqttOptions__MQTTHostMQTT server adresslocalhost
MqttOptions__MQTTPortMQTT server port1883
MqttOptions__MQTTUserMQTT usernameuser
MqttOptions__MQTTPasswordMQTT passwordpassword
MqttOptions__ConnectionTimeoutMQTT connection timeout in ms30000

Agent Options#

Config OptionExpected ValueSample value
SignerOptions__PrivateKeyFilePathPrivate key file path/path/to/private-key.pem
SignerOptions__PublicKeyFilePathPublic key file path/path/to/public-key.pem
EdgeDeviceOptions__AgentIDID Should be uniqe for each agent51319195
EdgeDeviceOptions__DefaultMaxMerkleTreeDepthDefault maximal merkle tree depth. This value is overridden by stream-specific coptions.12
EdgeDeviceOptions__DefaultMaxMerkleTreeAgeDefault maximal merkle-tree age in seconds. This value is overridden by stream-specific coptions.600
EdgeDeviceOptions__DataStreamOptions__<ValueMetadataID>__MaxMerkleTreeDepthStream specific maximal merkle-tree depth.EdgeDeviceOptions__DataStreamOptions__ea6eb3e0-1280-4b36-a807-94133cd7c775__MaxMerkleTreeDepth=24
EdgeDeviceOptions__DataStreamOptions__<ValueMetadataID>__MaxMerkleTreeAgeStream specific maximal merkle-tree age.EdgeDeviceOptions__DataStreamOptions__ea6eb3e0-1280-4b36-a807-94133cd7c775__MaxMerkleTreeDepth=900
DataStreamID__<ValueMetadataID><ValueSourceType>__<ValueSourceID>__<SensorID>DataStreamID__ea6eb3e0-1280-4b36-a807-94133cd7c775=OpcuaSource__opc.tcp://127.0.0.1:4840/va_tt_demo__ns=2;i=3

Azure IoT Hub ValueSink Options#

Config OptionExpected ValueSample value
AzureIoTHubOptions__ConnectionStringConnection string for the IoT Hub Edge Device (Important: Not Edge Runtime Device!)HostName=your-iot-hub.azure-devices.net;DeviceId=MyDotnetTestDevice;SharedAccessKey=IfBQvqDPKffysR0e0Do85uw6aaY/w3IFTnxNK3BoGGk=
IoTHubValueSinkOptions__MaxBatchSizeMaximum number of values that are batched together and sent to the IoT Hub500
IoTHubValueSinkOptions__FlushIntervalMaximum timer-interval of a single batch of values that is sent to the IoT Hub00:00:01.000

Proof Sink Options#

Config OptionExpected ValueSample value
ProofSinkOptions__TrustAPIBaseUrlUrl of the Trust APIhttps://trust-api.your-node.dataspace-node.com/
ProofSinkOptions__AuthUrlUrl of the identity-serverhttps://id.your-hub.dataspace-hub.com/connect/token
ProofSinkOptions__AuthScopeOAuth scopetrust-api-endpoint data-api-endpoint
ProofSinkOptions__ClientIDOAuth client-id7f89e8f9-4ecc-434e-a674-bfe48912aa56
ProofSinkOptions__ClientSecretOAuth client-secretsome-client-secret123
ProofSinkOptions__MaxBatchSizeMaximum number of proofs that are batched together20
ProofSinkOptions__FlushIntervalMaximum time-interval of a single batch of proofs00:00:01.000
ProofSinkOptions__TrustApiMaxRetriesMaximum number of retries if Trust API cannot be reached3
ProofSinkOptions__TrustApiMaxRetryIntervalMaximum interval betwenn retries. Retries use exponential backoff with this maximal interval.00:05:00.000