如何复制使用presigned网址在Amazon S3吗?网址、presigned、Amazon

由网友(香蕉你个不呐呐)分享简介:我想创建pre-签署网址S3复制操作。我知道pre-签署了URL S3-把,但没有得到如何创建它的S3-复制。I want to create pre-signed URL for S3-Copy operation.I know about pre-signed for URL S3-Put but not g...

我想创建pre-签署网址S3复制操作。 我知道pre-签署了URL S3-把,但没有得到如何创建它的S3-复制。

I want to create pre-signed URL for S3-Copy operation. I know about pre-signed for URL S3-Put but not get how to create it for S3-Copy.

参考: 的http://docs.amazonwebservices.com/AmazonS3/latest/dev/$p$psignedUrlUploadObjectDotNetSDK.html

我的要求是,我想创建一个签名的URL,它允许目的地服务访问源服务对象,并将其复制到目标斗。

My requirement is that I want to to create a signed URL, which allows the destination service to access source service object and copy it to the destination bucket.

感谢

推荐答案

可能不是你想要听到的答案,但是这个功能不支持AWS的Java SDK。你只可以生成pre-签署网址获取或放置一个对象。

Probably not the answer you want to hear, but this functionality isn't supported in the AWS SDK for Java. You can only generate pre-signed URLs to get or put an object.

在原则上,你可以pre-签署任何操作,但它变得复杂快。例如,复制对象操作需要必须签署特定的头文件,所以pre-签署URL和服务,最终访问该网址也都需要同意这些头的时间提前。

In principle you can pre-sign any operation, but it gets complicated fast. For example, the copy object operation needs specific headers which must be signed, so the pre-signed URL and the service eventually accessing that URL would both need to agree on these headers ahead of time.

阅读全文

相关推荐

最新文章