Skip to content

Files

Latest commit

 

History

History
28 lines (19 loc) · 630 Bytes

aws-kinesis-enable-in-transit-encryption.md

File metadata and controls

28 lines (19 loc) · 630 Bytes

Pattern: Disabled in-transit encryption for AWS Kinesis stream

Issue: -

Description

Kinesis streams should be encrypted to ensure sensitive data is kept private. Additionally, non-default KMS keys should be used so granularity of access control can be ensured.

Resolution: Enable in transit encryption.

Examples

Example of incorrect code:

resource "aws_kinesis_stream" "bad_example" {
	encryption_type = "NONE"
}

Example of correct code:

resource "aws_kinesis_stream" "good_example" {
	encryption_type = "KMS"
	kms_key_id = "my/special/key"
}