New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KMS server-side encryption support #185
Comments
Sent pull request #186. We verified a successful KMS server-side encryption for an S3 upload using |
Thank you for the pull request. We will add the enum in the future release. Thanks. |
Thanks, @yosuke-matsuda! Any ETA on when that will be added? |
I noticed this still hasn't been added in the latest release. Are there still plans for this support? |
Hi..Does anyone have an update on when this will be available as a framework which can be included in existing project. |
We've just released AWS Mobile SDK for iOS 2.2.6 which supported KMS server-side encryption. |
The
AWSS3PutObjectRequest
class has aSSEKMSKeyId
property, which makes it seem like KMS should be supported. The comment for theserverSideEncryption
property also mentionsaws:kms
as an option, however theAWSS3ServerSideEncryption
enum only has an entry for AES256. Is there a way with the current SDK to manually set thex-amz-server-side-encryption
header toaws:kms
for an upload request?As a test, I added an entry for KMS to the
AWSS3ServerSideEncryption
enum, and updated the methods inAWSS3Model.h
that return "AES256" when that corresponding enum is set to also return "aws:kms" when the new enum value is set, and I was able to successfully upload using KMS by settingSSEKMSKeyId
and using my new enum forserverSideEncryption
. So it seems like a pretty simple change to make. Is there a reason why this hasn't been added yet? Should I submit a pull request with my changes?The text was updated successfully, but these errors were encountered: