AWS/S3 ACL 和云锋

发布于 2024-09-26 03:08:35 字数 605 浏览 1 评论 0原文

tl;dr - 是否有一个强大的 S3 ACL 管理工具,可以与 CloudFront 一起使用?

我正在研究个人私有内容分发(通过 CloudFront),但显然 AWS 控制台在这方面严重缺乏。

我知道有一些 S3 客户端,但它们都没有真正对高级 ACL 做太多事情。为了避免必须使用 AWS cli 工具或为所有内容编写 API 包装器(这是为了配置长期系统,而不是为了任何需要以编程方式完成的事情),我正在寻找一个具有最佳性能的工具ACL 支持。

或者,如果有人对管理 CloudFront 和自定义 ACL(特别是向存储桶添加规范用户 ID/OriginAccessIdentities)有建议,我也完全愿意。

附带说明一下,AWS 文档提到了以下内容:

一旦您拥有私有内容分发,您必须授予您的 CloudFront 源访问身份对私有内容的读取权限。您可以通过修改每个对象(而不是存储桶)上的 Amazon S3 ACL 来完成此操作。

对于一个可能用作受保护资产的交换(原文如此)存储并定期修改(每天数十次以上)的系统来说,这似乎非常难以维护。我是否误读了这一点,或者它真的是那么静态和明确的吗?

tl;dr - Is there a robust S3 ACL management tool, possibly for use with CloudFront?

I'm working on a personal private content distribution (via CloudFront) but obviously the AWS Console is severely lacking in this regard.

I know there are a handful of S3 clients out there, but none of them really do much for advanced ACL. To avoid having to use the AWS cli tools or to write wrappers for the API for everything (this is for configuring long-term systems, not for anything that would need to be done programmatically), I'm looking for one that has the best ACL support.

OR, if anyone has suggestions for managing CloudFront and custom ACLs (specifically for adding canonical user IDs/OriginAccessIdentities to buckets), I'm totally open to that too.

On a side note, the AWS docs mention the following:

Once you have a private content distribution, you must grant your CloudFront origin access identity read access to the private content. You do this by modifying the Amazon S3 ACL on each of the objects (not on the bucket).

which seems, er, exceptionally hard to maintain for a system that could potentially be used as swap (sic) storage for protected assets and modified on a regular basis (tens+ of times per day). Am I misreading that, or is it really intended to be that static and explicit?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

骄兵必败 2024-10-03 03:08:35

感谢您的建议,但我不能使用这些(Mac - 没有提到,不是你的错)。我最终选择了 Bucket Explorer,FWIW。

Thanks for the suggestions, but I can't use those (Mac - didn't mention, not your fault). I ended up going with Bucket Explorer, FWIW.

终遇你 2024-10-03 03:08:35

适用于 Mac 和 Windows 的 Cyber​​duck Windows 支持 ACL 编辑。请参阅http://trac.cyberduck.ch/wiki/help/en/howto /s3

Cyberduck for Mac & Windows supports ACL editing. Refer to http://trac.cyberduck.ch/wiki/help/en/howto/s3.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文