AWS CLI获得下载S3网址从AWS CLI专用桶 [英] AWS CLI get download S3 URL for private bucket from AWS CLI

查看:576
本文介绍了AWS CLI获得下载S3网址从AWS CLI专用桶的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以上传文件到私人 S3斗成功地使用下面的命令:

I could upload a file to a private S3 bucket successfully using following command:

AWS S3 CPmyfile.txt的S3://myfolder/myfile.txt--region =美国东1 - 输出= JSON

我想发出一个AWS CLI命令返回我的临时网址下载myfile.txt的和有没有人知道如何?

I would like to issue a AWS CLI command to return me a temporary URL download for myfile.txt and does anyone know how to?

我GOOGLE了,看起来像我必须做一些签约来获得暂时的网址,如:<一href="http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html

I googled and look like I have to do some signing to get temporary URL such as: http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html

推荐答案

我用Google搜索周围,并决定写这个剧本,以帮助我产生烧焦,网址为S3。

I googled around and decided write this script to help me to generate singed-url for S3.

https://github.com/gdbtek/aws-tools

这篇关于AWS CLI获得下载S3网址从AWS CLI专用桶的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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