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

# Azure Storage account encryption key is not rotated regularly

### Synopsis

| Field               | Value                                                         |
| ------------------- | ------------------------------------------------------------- |
| Rule Type           | Detection                                                     |
| Finding Type        | Azure Storage account encryption key is not rotated regularly |
| Finding ID          | 60000834                                                      |
| Generates a Finding | This detection rule also generates a finding                  |
| Severity            | Low                                                           |
| Category            | CONFIGURATION                                                 |
| Cloud Providers     | AZURE                                                         |
| Platform Module     | CSPM                                                          |
| Asset Types         | AZURE\_STORAGE\_ACCOUNT                                       |
| ATT\&CK Tactic      | TA0040 (TA0040)                                               |
| ATT\&CK Technique   | T1486 (T1486)                                                 |

### Description

Azure Storage accounts using encryption keys not rotated regularly pose a significant security risk. Failure to rotate encryption keys leaves data vulnerable for extended periods if a key is compromised.

Azure Storage accounts utilize customer-managed keys or Microsoft-managed keys for encryption. Regular key rotation ensures that even if a key is compromised, only a limited window of data is at risk. Lack of rotation significantly increases the potential for data breaches and unauthorized access, impacting confidentiality and integrity.

A compromised encryption key allows attackers to decrypt and access sensitive data stored within the affected Azure Storage accounts. This breach could lead to data exfiltration, regulatory fines, and reputational damage. Regular rotation mitigates this risk by limiting the impact of a compromised key.

To remediate this misconfiguration, implement automated key rotation schedules. Establish a defined rotation frequency based on risk assessment (e.g., monthly, quarterly). Use Azure Key Vault to manage and rotate keys securely, leveraging its auditing capabilities for compliance and monitoring.

### Remediation

**Manual steps:**

Azure Storage Account - Manual remediation steps:

To configure Stroage account encryption key rotation; refer below URL:

<https://learn.microsoft.com/en-us/azure/storage/common/customer-managed-keys-configure-existing-account?tabs=azure-portal#configure-encryption-for-automatic-updating-of-key-versions>

NOTE: Azure Storage checks the key vault for a new key version only once daily. When you rotate a key, be sure to wait 24 hours before disabling the older version.


---

# 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-storage-account-encryption-key-is-not-rotated-regularly.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.
