我正在使用 awscli (S3 Api) 通过我的 softlayer 对象存储来操作一些请求。我可以检索存储桶列表、创建或删除存储桶。当我尝试将示例文件复制到特定存储桶时,出现错误:
aws --endpoint-url=https://s3-api.us-geo.objectstorage.softlayer.net s3 cp test.txt s3://my_test_bucket/files
我收到以下错误(使用 sdk api、python boto3 api 和 wascli 测试)
upload failed: ./test.txt to s3://my_test_bucket/test.txt An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.