getStorageSecretByDeviceId
版本要求:
@tuya-miniapp/cloud-api≥1.0.5
方法签名
getStorageSecretByDeviceId(params: )描述
以设备维度获取文件解密密钥
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | devId:设备 id |
返回值
类型:Promise<string>
密钥信息(字符串)
getStorageSecretByDeviceId(params: )以设备维度获取文件解密密钥
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | devId:设备 id |