We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e5d7e commit 1820789Copy full SHA for 1820789
src/baas/cos/index.js
@@ -9,6 +9,7 @@ class Cos {
9
constructor(credentials = {}, region = 'ap-guangzhou') {
10
this.region = region
11
this.credentials = credentials
12
+ // cos临时密钥需要用XCosSecurityToken
13
if(credentials.token){
14
this.credentials.XCosSecurityToken = credentials.token
15
}
0 commit comments