File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ declare namespace COS {
171
171
UploadIdCacheLimit ?: number ,
172
172
/** 是否使用全球加速域名。开启该配置后仅以下接口支持操作:putObject、getObject、headObject、optionsObject、multipartInit、multipartListPart、multipartUpload、multipartAbort、multipartComplete、multipartList、sliceUploadFile、uploadFiles */
173
173
UseAccelerate ?: boolean ,
174
+ /** 默认为true,将host加入签名计算,关闭后可能导致越权风险,建议保持为true */
175
+ ForceSignHost ?: boolean ,
174
176
/** 获取签名的回调方法,如果没有 SecretId、SecretKey 时,必选 */
175
177
getAuthorization ?: (
176
178
options : GetAuthorizationOptions ,
@@ -1907,6 +1909,8 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
1907
1909
Query ?: Query ,
1908
1910
/** 请求里的 Header 参数 */
1909
1911
Headers ?: Headers ,
1912
+ /** 默认为true,将host加入签名计算,关闭后可能导致越权风险,建议保持为true */
1913
+ ForceSignHost ?: boolean ,
1910
1914
}
1911
1915
1912
1916
}
You can’t perform that action at this time.
0 commit comments