This rule ensures that all Secrets Manager secrets are encrypted using Customer Master Keys (CMK).
Rule | Secrets Manager secrets should be encrypted using CMK |
Framework | GxP 21 CFR Part 11 |
Severity | ✔ High |
Rule Description:
The rule/policy states that all secrets stored in AWS Secrets Manager should be encrypted using a Customer Master Key (CMK) that is compliant with the requirements of Good Practice (GxP) regulations and 21 CFR Part 11.
Troubleshooting Steps:
1. Verify Encryption Algorithm:
Make sure that the encryption algorithm used for encrypting the secrets in AWS Secrets Manager is compliant with GxP and 21 CFR Part 11 regulations. AES-256 encryption is recommended for this purpose.
2. Validate CMK Compliance:
Confirm that the CMK used for encryption in Secrets Manager is created with the appropriate security settings as per GxP and 21 CFR Part 11 requirements. Ensure that the CMK is compliant with the necessary regulations and has no key policy violations.
3. Check Encryption Status:
Verify the encryption status of the secrets in AWS Secrets Manager. Ensure that all secrets stored are encrypted with the CMK identified as compliant with GxP and 21 CFR Part 11.
4. Review Logging and Monitoring:
Regularly monitor AWS CloudTrail logs and Secret Manager API activity to ensure that there are no unauthorized attempts to access or modify the secrets. Create appropriate alarms and notifications for any security events related to secrets management.
Necessary Codes:
There are no specific codes required to comply with this rule/policy. However, the AWS Management Console or AWS CLI can be used for verification and remediation purposes.
Step-by-Step Guide for Remediation:
Follow the steps below to comply with the rule/policy:
1. Verify Encryption Algorithm:
Check the encryption algorithm used in Secrets Manager by following these steps:
2. Validate CMK Compliance:
Confirm the CMK compliance by performing the following steps:
3. Check Encryption Status:
Verify the encryption status of the secrets in Secrets Manager:
4. Review Logging and Monitoring:
Set up appropriate logging and monitoring by following these steps:
By following these steps, you will ensure that secrets stored in AWS Secrets Manager are encrypted using a CMK compliant with GxP and 21 CFR Part 11 regulations. Additionally, you will have proper logging and monitoring in place to detect and respond to any security-related incidents.