> 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/ibm-cloud-secrets-manager-has-expired-user-credentials.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Secrets Manager has expired user credentials

### Synopsis

| Field               | Value                                                  |
| ------------------- | ------------------------------------------------------ |
| Rule Type           | Detection                                              |
| Finding Type        | IBM Cloud Secrets Manager has expired user credentials |
| Finding ID          | 60000785                                               |
| Generates a Finding | This detection rule also generates a finding           |
| Severity            | Informational                                          |
| Category            | CONFIGURATION                                          |
| Cloud Providers     | IBM\_CLOUD                                             |
| Platform Module     | CSPM                                                   |
| Asset Types         | IBM\_SECRETS\_MANAGER\_SECRET                          |
| ATT\&CK Tactic      | TA0006 (TA0006)                                        |
| ATT\&CK Technique   | T1552 (T1552)                                          |

### Description

IBM Cloud Secrets Manager stores credentials as typed secrets, and a username\_password secret holds a user credential pair for an application or service account. A secret may carry an expiration date, after which the credential is considered no longer valid and should be replaced or removed.

This policy identifies user credential secrets that have expired, and also those that carry no expiration date at all. A secret qualifies when its expiration date has passed or is immediately imminent, or when no expiration date was ever set.

An expired credential left in the store is usually still accepted by the system that issued it, because expiry in the secret store does not revoke the account password. What remains is a working login that has dropped out of active management, which is precisely the kind of account that escapes periodic access review and retains permissions long after the need for them ended. A credential with no expiry presents the same risk without a deadline, since nothing ever forces a reconsideration of whether it should still exist.

As a remediation, review each reported secret, confirm whether the account is still required, and disable or delete it in the identity system if it is not. For credentials that remain in use, rotate the password, set an expiration date matching the organisation's credential lifetime policy, and schedule replacement ahead of that date.

### Remediation

**Manual steps:**

IBM Secrets Manager Secret - Manual remediation steps:

If the IBM Cloud Secrets Manager user credentials secret is expired, secret needs to be deleted.

Please use below URL as reference:

<https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-delete-secrets\\&interface=ui#delete-secret-ui>

If the IBM Cloud Secrets Manager user credentials is about to be expired, secret has to be rotated.

Please use below URL as reference:

<https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-manual-rotation\\&interface=ui#manual-rotate-user-credentials-ui>

Please make sure to set an expiration date for each secret. Please follow the below steps to set an expiration date:

1. Log in to the IBM Cloud Console
2. Click on Menu Icon and navigate to 'Resource list', from the list of resources select secret manager instance in which reported secret resides, under security section.
3. Select the secret.
4. Under 'Expiration date' section, provide expiration date as required.
5. Click on 'Update'.


---

# 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/ibm-cloud-secrets-manager-has-expired-user-credentials.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.
