-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add optional sse_mks_key_id parameter #42
base: master
Are you sure you want to change the base?
Conversation
test/utils/unit-tests-data.js
Outdated
@@ -25,9 +25,10 @@ module.exports = { | |||
content_encoding: 'gzip', | |||
content_language: 'en-US', | |||
metadata: { 'some-key': 'some-value' }, | |||
cache_control: 'max-age=60' | |||
cache_control: 'max-age=60', | |||
sse_mks_key_id: "sse-key-arn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should change this to single quotes for consistency with the rest of the code.
test/utils/unit-tests-data.js
Outdated
@@ -47,7 +48,8 @@ module.exports = { | |||
CacheControl: 'max-age=60', | |||
Metadata: { | |||
'some-key': 'some-value' | |||
} | |||
}, | |||
SSEKMSKeyId: "sse-key-arn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should change this to single quotes for consistency with the rest of the code.
@gscalise code updated and conflicts resolved |
Add an optional
sse_mks_key_id
parameter to specify the ID of the symmetric customer-managed key to use for object encryption.This will add the x-amz-server-side-encryption-aws-kms-key-id param in the request for the CreateMultiPartUpload operation (see AWS API docs for reference).