-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(kinesis): stream encryption with the Kinesis master key #7057
Conversation
Adds a `StreamEncryption` option to specify that encryption should be enabled and managed by Kinesis. Closes #751
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
I know this is not exactly the purpose of this PR, but this is my pet peeve 🙂.
Right now, if you leave encryptionType
undefined, but pass the KMS Key, you will get an error encryptionKey is specified, so 'encryption' must be set to KMS
. I find this error message infuriating ("Why are you telling me to set it, if you already know what it's supposed to be??"), and below the customer experience bar we hold for the CDK. It was the same situation in S3, and we fixed it in #2714 . I would love to get it fixed here as well (doesn't necessarily have to be this PR 🙂).
great point.. that’s a far more intuitive user experience. Will work into this PR |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
👍
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
The ability to create a Kinesis Stream with encryption is not currently possible in the L2 construct without a user managed key. However the keyId property can be used in the L1 to specify this mode of operation.
Commit Message
feat(kinesis): stream encryption with the Kinesis master key
Adds a
StreamEncryption
option to specify that encryption should be enabled on a Stream with the master key managed by Kinesis.Closes #751
End Commit Message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license