> 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-service-id-with-iam-policies-provide-administrative-privileges-for-secrets-manager-service.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Service ID with IAM policies provide administrative privileges for Secrets Manager service

### Synopsis

| Field               | Value                                                                                                |
| ------------------- | ---------------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                            |
| Finding Type        | IBM Cloud Service ID with IAM policies provide administrative privileges for Secrets Manager service |
| Finding ID          | 60000804                                                                                             |
| Generates a Finding | This detection rule also generates a finding                                                         |
| Severity            | Medium                                                                                               |
| Category            | CONFIGURATION                                                                                        |
| Cloud Providers     | IBM\_CLOUD                                                                                           |
| Platform Module     | CSPM                                                                                                 |
| Asset Types         | IBM\_IAM\_POLICY, IBM\_IAM\_SERVICE\_ID                                                              |
| ATT\&CK Tactic      | TA0004 (TA0004)                                                                                      |
| ATT\&CK Technique   | T1078.004 (T1078.004)                                                                                |

### Description

Service IDs holding the 'Administrator' role for the Secrets Manager service can read, rotate, and destroy the secrets that other systems in the account depend on.

Service IDs authenticate applications and automation rather than people, and an access policy that grants 'Administrator' on Secrets Manager without narrowing the scope to a resource group, secret group, or service instance turns one credential into access to all of them. Service ID credentials are long-lived and frequently embedded in pipelines and container images, so a leaked key yields not only the secret store but the certificates, database passwords, and API keys held inside it.

Secrets Manager sits at the root of the credential hierarchy, so its compromise cascades. An attacker who reads its contents inherits every identity those secrets represent, and one who deletes or rotates them can break authentication across unrelated services at once, turning a confidentiality breach into an availability incident.

Grant service IDs only the roles their workload needs, using a reader role limited to the specific secret group an application consumes in place of 'Administrator', and scope each policy to a single instance or resource group. Review service ID policies on a fixed cadence, rotate API keys, and remove identities that no longer serve an active workload.

### Remediation

**Manual steps:**

IBM IAM Service ID, IBM IAM Policy - Manual remediation steps:

1. Log in to the IBM Cloud console.
2. In the IBM Cloud console, click 'Manage' on the title bar > 'Access (IAM)', click on 'Service IDs' in the left panel.
3. Select the Service ID which is reported and you want to edit access for.
4. Under the 'Access' tab, go to the 'Access policies' section > Click on three dots on the right corner of a row for the policy, which has administrator permission on 'Secrets Manager' service.
5. Click on Remove OR Edit to assign limited permission to the policy.
6. Review the policy details that you're about to Edit/Remove, and confirm by clicking Save/Remove.


---

# 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-service-id-with-iam-policies-provide-administrative-privileges-for-secrets-manager-service.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.
