Updated on 2025-04-25 GMT+08:00
Specify a Signing Algorithm
The cli-auth-type option specifies an AK/SK signing algorithm. Add this option when you need to specify a special signing algorithm. The supported value is derivedSign. Use this value when calling the IoTDA service with AK/SK.
hcloud IoTDA UpdateDevice --cli-region="ap-southeast-1" --description="test update device" --device_id="testz*********************0802" --cli-endpoint="iot-mqtts.ap-southeast-1.myhuaweicloud.com" --cli-auth-type=derivedSign { "app_id" : "103b************************6202", "app_name" : "DefaultApp_********", "device_id" : "testz*********************0802", "node_id" : "testz*********************0802", "gateway_id" : "testz*********************0802", "device_name" : "test********************************************0802", "node_type" : "CATEWAY", "description" : "test update device", "fw_version" : null, "sw_version" : null, "device_sdk_version" : null, "auth_info" : { "auth_type" : "CERTIFICATES" "secret" : null, "fingerprint" : "e30db21************************b1772929c", "secure_access" : true, "timeout" : 0 } "product_id" : "50c1************************588e", "product_name" : "50c1************************588e", "status" : "INACTIVE", "create time" : "20220801T085024z", "tags" : [], "extension_info" : { "shal_fingerprint" : "82cd23e2************************e089d59d", "sha256_fingerprint" : "396ldb************************************************4a5f88ccb7" } }
Parent topic: Options
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot