Secrets Manager encrypts secrets by default using a default key created by AWS. To ensure control and granularity of secret encryption, CMK’s should be used explicitly.
Impact
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Use customer managed keys
1
2
3
4
5
6
7
8
9
10
11
12
AWSTemplateFormatVersion:"2010-09-09"Description:Good example of ingress ruleResources:Secret:Type:AWS::SecretsManager::SecretProperties:Description:secretKmsKeyId:my-key-idName:blahSecretString:don't tell anyone