如何复制使用presigned网址在Amazon S3吗? [英] How to copy using presigned url at amazon s3?

查看:130
本文介绍了如何复制使用presigned网址在Amazon S3吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建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.

这篇关于如何复制使用presigned网址在Amazon S3吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆