Skip to content

Commit 935445c

Browse files
committed
fix: add missing cos sdk token field
1 parent 71e7a62 commit 935445c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tencentcloud/connectivity/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ func (me *TencentCloudClient) UseTencentCosClient(bucket string) *cos.Client {
153153
Transport: &cos.AuthorizationTransport{
154154
SecretID: me.Credential.SecretId,
155155
SecretKey: me.Credential.SecretKey,
156+
SessionToken: me.Credential.Token,
156157
},
157158
})
158159

0 commit comments

Comments
 (0)