tencentyun / qcloud-cos-sts-sdk

QCloud COS STS SDK for Backend Server
MIT License
200 stars 188 forks source link

获取 sts 一直报AuthFailure.SignatureFailure #60

Closed a852882874 closed 3 years ago

a852882874 commented 3 years ago

image

a852882874 commented 3 years ago

这是我的代码,完全是按照例子上面复制的 image

tuuna commented 3 years ago

image 这个domain不应该填cos域名哈

a852882874 commented 3 years ago

@tuuna 是写死的sts.tencentcloudapi.com吗

tuuna commented 3 years ago

是的,你可以看一下这边的具体写法

tuuna commented 3 years ago

https://github.com/tencentyun/qcloud-cos-sts-sdk/blob/master/php/demo/sts_test.php

tuuna commented 3 years ago

这边的domain指的是sts的服务域名,不是cos哈

a852882874 commented 3 years ago

@tuuna 谢谢了哈,可以了

tuuna commented 3 years ago

@a852882874 不客气