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

# Azure Storage account key expiration policy is not configured

### Synopsis

| Field               | Value                                                         |
| ------------------- | ------------------------------------------------------------- |
| Rule Type           | Detection                                                     |
| Finding Type        | Azure storage account key expiration policy is not configured |
| Finding ID          | 60001502                                                      |
| Generates a Finding | This detection rule also generates a finding                  |
| Severity            | Informational                                                 |
| Category            | CONFIGURATION                                                 |
| Cloud Providers     | AZURE                                                         |
| Platform Module     | CSPM                                                          |
| Asset Types         | AZURE\_STORAGE\_ACCOUNT                                       |
| ATT\&CK Tactic      | TA0112 (TA0112)                                               |
| ATT\&CK Technique   | T1685 (T1685)                                                 |

### Description

The absence of an Azure Storage account key expiration policy increases the risk of unauthorized access due to stagnant access keys.

Azure Storage accounts utilize access keys for authentication, granting full control over data. Without a configured key expiration policy, these critical keys remain unchanged indefinitely, increasing the exposure window if a key is compromised. Attackers could exploit a leaked or stolen key to gain persistent, unauthorized access to sensitive data within the storage account, leading to data exfiltration, tampering, or service disruption without detection.

The impact of this misconfiguration includes potential data breaches, compliance violations, and significant reputational damage. Regular key rotation is a fundamental security practice that limits the lifespan of a compromised key, reducing the window of opportunity for an attacker. Implementing an expiration policy ensures keys are periodically refreshed, significantly enhancing the overall security posture of the storage account.

To mitigate this risk, configure a key expiration policy for all Azure Storage accounts. Establish a suitable expiration period based on organizational security requirements and compliance standards. Regularly review and enforce the rotation of storage account access keys to minimize the window of exposure and protect stored data effectively.

### Remediation

**Manual steps:**

Azure Storage Account - Manual remediation steps:

1. Log in to Azure Portal
2. Navigate to the Storage Accounts dashboard
3. Click on the reported Storage account
4. Under the 'Security + networking', select 'Access keys'
5. Select the 'Set rotation reminder' button. If the Set rotation reminder button is grayed out, you will need to rotate each of your keys manually.
6. In Set a reminder to rotate access keys, select the 'Enable key rotation reminders' checkbox and set a frequency for the reminder.
7. Click on 'Save'

NOTE: Before you can create a key expiration policy, you may need to rotate each of your account access keys at least once.


---

# 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-key-expiration-policy-is-not-configured.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.
