HttpResponse Object
(
[body:HttpResponse:private] => {"RequestId":"693C0074-846A-4B4A3-AC8C-4465CDKD1EF3C","AssumedRoleUser":{"AssumedRoleId":"3625334471430959228:ray","Arn":"acs:ram::1341953643338:role/zxg-ray/ray"},"Credentials":{"AccessKeySecret":"9UfVrCHRjQfmREyE3qKrtoWgizgESMEH4Gc2yTK9UB","AccessKeyId":"STS.VjJnuEKo7PIhW1uyOFT2JK","Expiration":"2015-11-10T12:39:47Z","SecurityToken":"CAES7gIIARKAATcOhB3PDyhuvD5SXdQk2ir/eX50kZBISEU7RU34AXNZeoPUv5wL97s87J0wmyMNx/a+PwxVjHr1e3p4P4PkkyUoE5tn0ugKvnARMMZPjPjvvCMVNB6fh+cDGlKKU++iarF3d2M4Ky3oiBmHHA6fR30tcNRKW9k5KYFnyg9+fFT7GhhTVFMuVmpKbnVLbzdQSWgxdXlPRlQySksiEjM2MjUxNjM0NzE0MDk1OTIyOCoDcmF5MIqQo4uPKjoGUnNhTUQ1QlwKATEaVwoFQWxsb3cSLQoMQWN0aW9uRXF1YWxzEgZBY3Rpbsdfeb3NzOkdldCoKCW9zczDMaXN0KhIfCg5SZXNvdXJjZUVxdWFscxIIUmVzb3VyY2UaAwoBKkoQMTI3MTk1NDA4MTY0MzMzOFIFMjY4NDJaD0Fzc3VtZWRSb2xlVXNlcmAAahIzNjI1MTYzNDcxNDA5NTkyMjhyB3p4Zy1yYXk="}}
[status:HttpResponse:private] => 200
)
我用sts 生成的AccessKeyId ,AccessKeySecret 和SecurityToken 放在oss里面上传失败,
ret:403 创建bucket xxx FAIL ret:403 上传字符串到 /xxx/test.txt FAIL(最新的php sdk) 而用以前帐号的
OSS_ACCESS_ID和OSS_ACCESS_KEY 就可以上传
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。