aws-sdk-ruby
aws-sdk-ruby copied to clipboard
Multipart upload for EncryptionV2
Hello, is there any way to initiate multipart upload using Aws::S3::EncryptionV2::Client
?
Getting error:
undefined method `create_multipart_upload' for #<Aws::S3::EncryptionV2::Client
Thank you.
Confirm by changing [ ] to [x] below:
- [x] I've gone though Developer Guide for v3 and API reference
- [x] I've checked AWS Forums and StackOverflow for answers
Describe the question
It's not supported. There are some technical limitations and challenges involved.
Unfortunately we don't support multipart upload with client side encryption. There are additional complexities to ensure that client side encryption applied to multipart upload is both secure and correct.
I'd recommend breaking your file apart, doing put_object
on each part and then manually recombining them. Alternatively, depending on your encryption needs, you can use server side encryption which will work seamlessly with multipart uploads.
Thank you for information. I just went on with reading encrypted datastream from openssl in chunks and uploading them as multipart data.
I just went on with reading encrypted datastream from openssl in chunks and uploading them as multipart data.
@Seitanas Can you share a code sample of reading encrypted datastream from openssl in chunks and uploading them as multipart data?
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.