1. 首页
  2. 考试认证
  3. 其它
  4. upyun sign创建Upyun表单签名的CLI工具

upyun sign创建Upyun表单签名的CLI工具

上传者: 2024-12-16 22:50:59上传 ZIP文件 5.15KB 热度 6次

云征通过给定的form_api_secret创建Upyun表单policysignature的CLI工具。安装:

$ [sudo] npm install -g upyun-sign

CLI使用:

使用upyun-sign CLI工具时,form_api_secret必须为字符串,且为必填项。params必须是JSON字符串,它是可选的。

查看Upyun的示例命令:

$ upyun-sign --bucket=exampledemo --form_api_secret=L6RkvgdjMPWiBRyU --save-key=/path/to/file.ext --expiration=1409200758 --allow-file-type= --content-length-range= --content-md5= --co

下载地址
用户评论