简体   繁体   English

Amazon S3文件加密

[英]Amazon S3 File Encryption

I am developing a project which requires video file encryption. 我正在开发一个需要视频文件加密的项目。 I am familiar with AWS S3 so I have decided to use the same. 我对AWS S3很熟悉,因此我决定使用它。 I found the link Reference Link 我找到了链接参考链接

Which says we need to provide our encryption key to to encrypt the data and AWS takes care of the data writing and we can access the file again by passing the same encryption key. 也就是说,我们需要提供加密密钥来加密数据,而AWS负责数据写入,并且可以通过传递相同的加密密钥来再次访问文件。

I want to know from where should I generate the encryption key? 我想知道应该从哪里生成加密密钥?

You're looking at the "customer-provided encryption keys" section. 您正在查看“客户提供的加密密钥”部分。 In that case, you provide the encryption key. 在这种情况下,您需要提供加密密钥。

If you don't want to, or know how to, manage your own keys, you should use S3-managed encryption keys or (even better) KMS-managed encryption keys . 如果您不想或不知道如何管理自己的密钥,则应使用S3管理的加密密钥或(甚至更好) KMS管理的加密密钥

For even more safety, client-side encryption is nice. 为了更加安全, 客户端加密是很好的选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM