> 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-kms-key-scheduled-for-deletion.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS KMS Key scheduled for deletion

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS KMS Key scheduled for deletion           |
| Finding ID          | 60000169                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Medium                                       |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AWS\_KMS\_KEY\_ROTATION\_STATUS              |
| ATT\&CK Tactic      | TA0040 (TA0040)                              |
| ATT\&CK Technique   | T1485 (T1485)                                |

### Description

AWS KMS keys scheduled for deletion pose a significant security risk due to the irreversible nature of key deletion. Data encrypted with these keys becomes permanently inaccessible after deletion, leading to data loss and potential business disruption.

The AWS KMS service allows scheduling keys for deletion. Incorrectly scheduling a key for deletion, especially those used for critical applications, can result in data unavailability and business interruption. Attackers could exploit this misconfiguration by triggering the deletion of essential encryption keys, rendering sensitive data inaccessible.

The impact of this misconfiguration is data loss and potential business disruption. Recovering data encrypted with a deleted key is impossible. The best practice of disabling keys instead of deleting them ensures data remains accessible while preventing unauthorized use. This prevents accidental or malicious data loss.

To mitigate this risk, disable keys instead of deleting them unless absolutely certain they are no longer needed. Regularly review scheduled key deletions. Implement robust change management processes to prevent accidental deletion of critical keys. Employ strong access controls to restrict who can schedule key deletions.

### Remediation

**Manual steps:**

AWS KMS Key Rotation Status - Manual remediation steps:

You should delete a KMS key only when you are sure that you don't need to use it anymore. To fix this alert, If you sure you no longer need a reported KMS key; dismiss the alert. If you are not sure, consider disabling the KMS key instead of deleting it.

To enable KMS CMKs which are scheduled for deletion, perform the following:

1. Sign into the AWS console
2. In the console, select the specific region from region drop down on the top right corner, for which the alert is generated
3. Navigate to Key Management Service (KMS)
4. Click on 'Customer managed keys' (Left Panel)
5. Select reported KMS Customer managed key
6. Click on 'Key actions' dropdown
7. Click on 'Cancel key deletion'
8. Click on 'Enable'


---

# 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-kms-key-scheduled-for-deletion.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.
