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

# Azure Key Vault is not recoverable

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | Azure Key Vault is not recoverable           |
| Finding ID          | 60000303                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Low                                          |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AZURE                                        |
| Platform Module     | CSPM                                         |
| Asset Types         | AZURE\_KEY\_VAULT                            |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685 (T1685)                                |

### Description

Azure Key Vaults lacking recovery settings present a significant security risk. Accidental deletion of a Key Vault, containing sensitive cryptographic keys and secrets, can lead to immediate data loss and service disruption.

Azure Key Vaults provide services for storing and managing cryptographic keys, secrets, and certificates. Disabling the "Do Not Purge" and "Soft Delete" settings removes the ability to recover accidentally deleted Key Vault objects. This misconfiguration exposes organizations to data breaches, service outages, and potentially complete loss of encryption capabilities, significantly impacting security functions. Attackers could exploit this to gain unauthorized access to sensitive data or disrupt critical services.

The impact of this misconfiguration is severe, ranging from data loss and service unavailability to complete compromise of security posture. Enabling "Do Not Purge" and "Soft Delete" allows for recovery from accidental deletions, minimizing the impact of human error or malicious activity. This ensures business continuity and maintains data integrity and confidentiality.

To mitigate this risk, ensure both "Do Not Purge" and "Soft Delete" are enabled for all Azure Key Vaults. Regularly review and audit these settings to prevent accidental changes. Implement strong access controls to restrict who can modify Key Vault settings and enforce a robust change management process. Monitor Key Vault activity for suspicious actions, particularly deletions.

### Remediation

**Manual steps:**

Azure Key Vault - Manual remediation steps:

1. Log in to the Azure Portal
2. Go to Key vaults service
3. Navigate to reported Azure Key Vault
4. In the left-hand menu, under 'Settings', select 'Properties'
5. Ensure 'Soft-delete' is enabled
6. Set 'Purge protection' to 'Enable Purge Protection'
7. Click 'Save'


---

# 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/azure-key-vault-is-not-recoverable.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.
