设备接入 IoTDA-内部函数:Fn::Base64Encode

时间:2025-02-12 15:01:01

Fn::Base64Encode

内部函数Fn::Base64Encode将一个字符串按BASE64编码。

JSON

{"Fn::Base64Encode": "content"}
表3 参数说明

参数名称

类型

说明

content

String

待编码的字符串。

返回值

String

base64编码后的字符串。

示例如下:

{"Fn::Base64Encode": "testvalue"}return: "dGVzdHZhbHVl"
support.huaweicloud.com/usermanual-iothub/iot_01_0216.html