-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify S6327: Improve the recommended fix (#4543)
* Modify S6327: Improve the recommended fix * Apply suggestions from code review * add more info * improvement
- Loading branch information
1 parent
dc4e9af
commit d046613
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
== Recommended Secure Coding Practices | ||
|
||
It's recommended to encrypt SNS topics that contain sensitive information. Encryption and decryption are handled transparently by SNS, so no further modifications to the application are necessary. | ||
It is recommended to encrypt SNS topics that contain sensitive information. | ||
|
||
To do so, create a master key and assign the SNS topic to it. Note that this | ||
system does not encrypt the following: | ||
|
||
* Topic metadata (topic name and attributes) | ||
* Message metadata (subject, message ID, timestamp, and attributes) | ||
* Data protection policy | ||
* Per-topic metrics | ||
Then, make sure that any publishers have the ``++kms:GenerateDataKey*++`` and | ||
``++kms:Decrypt++`` permissions for the AWS KMS key. | ||
|
||
See https://docs.aws.amazon.com/sns/latest/dg/sns-key-management.html#sns-what-permissions-for-sse[AWS SNS Key Management Documentation] | ||
for more information. | ||
|