更新时间:2025-04-24 GMT+08:00
指定签名算法
cli-auth-type用于指定AKSK的签名方式,在需指定特殊签名算法时添加此参数。目前参数支持的值为“derivedSign”,在使用aksk方式调用iotda服务时使用。
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"
}
}
父主题: 选项说明