> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-secrets-manager-secret-not-encrypted-by-customer-managed-key-cmk.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Secrets Manager secret not encrypted by Customer Managed Key (CMK)

### Synopsis

| Field               | Value                                                                  |
| ------------------- | ---------------------------------------------------------------------- |
| Rule Type           | Detection                                                              |
| Finding Type        | AWS Secrets Manager secret not encrypted by Customer Managed Key (CMK) |
| Finding ID          | 60000606                                                               |
| Generates a Finding | This detection rule also generates a finding                           |
| Severity            | Low                                                                    |
| Category            | CONFIGURATION                                                          |
| Cloud Providers     | AWS                                                                    |
| Platform Module     | CSPM                                                                   |
| Asset Types         | AWS\_SECRETS\_MANAGER\_SECRET                                          |

### Description

AWS Secrets Manager secrets encrypted with the default AWS managed key are vulnerable to potential data breaches. Using the default key means AWS controls the encryption, increasing the risk if AWS's key management is compromised.

Secrets Manager provides a secure storage service for sensitive data. However, relying on the default AWS managed key for encryption reduces organizational control and increases the risk of unauthorized access. Attackers gaining access to the AWS managed key could decrypt all secrets encrypted with it.

A compromised default key could expose all secrets encrypted with it, leading to data breaches, credential theft, and potential service disruptions. Using CMKs provides better control, compliance, and reduces the risk of unauthorized access to sensitive information stored within Secrets Manager.

Implement a policy mandating the use of CMKs for all Secrets Manager secrets. Regularly audit secrets' encryption settings to identify and remediate any secrets still using the default AWS managed key. Rotate CMKs according to a defined schedule to further enhance security.

### Remediation

To change the encryption key for a Secrets Manager secret:

1. Open the Secrets Manager console at <https://console.aws.amazon.com/secretsmanager/>.
2. From the list of secrets, choose the reported secret.
3. On the secret details page, in the Secrets details section, choose Actions, and then choose 'Edit encryption key'.
4. in the 'Encryption key' section choose the Customer Managed Key created and managed by you in AWS Key Management Service (KMS) based on your business requirement.
5. Click 'Save' button to save the changes.

Note: When using customer-managed CMKs to encrypt Secrets Manager secret, Ensure authorized entities have access to the key and its associated operations.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-secrets-manager-secret-not-encrypted-by-customer-managed-key-cmk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
