Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GitLuca
Copy link

@GitLuca GitLuca commented Nov 22, 2021

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).

@@ -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"
Copy link

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.

@@ -47,7 +48,8 @@ module.exports = {
CacheControl: 'max-age=60',
Metadata: {
'some-key': 'some-value'
}
},
SSEKMSKeyId: "sse-key-arn"
Copy link

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.

@GitLuca
Copy link
Author

GitLuca commented Jan 5, 2022

@gscalise code updated and conflicts resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants