> 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-kubernetes-secrets-data-is-not-encrypted-with-bring-your-own-key.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# IBM Cloud Kubernetes secrets data is not encrypted with bring your own key

### Synopsis

| Field               | Value                                                                      |
| ------------------- | -------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                  |
| Finding Type        | IBM Cloud Kubernetes secrets data is not encrypted with bring your own key |
| Finding ID          | 60000754                                                                   |
| Generates a Finding | This detection rule also generates a finding                               |
| Severity            | Medium                                                                     |
| Category            | CONFIGURATION                                                              |
| Cloud Providers     | IBM\_CLOUD                                                                 |
| Platform Module     | CSPM                                                                       |
| Asset Types         | IBM\_KUBERNETES\_CLUSTER                                                   |
| ATT\&CK Tactic      | TA0006 (TA0006), TA0009 (TA0009)                                           |
| ATT\&CK Technique   | T1552 (T1552), T1530 (T1530)                                               |

### Description

Kubernetes cluster secrets stored without a customer-managed key rely on provider-managed default encryption, leaving control over the key that protects sensitive secret data outside the customer's authority.

Kubernetes clusters persist secrets such as credentials, tokens, and certificates in the underlying key-value store, and enabling bring-your-own-key encryption wraps that data with a customer-controlled root key managed in a dedicated key management service. When keyProtectEnabled is false on a running cluster, secrets are protected only by default encryption, so the customer cannot rotate, revoke, or audit the key material independently. An adversary who gains access to the cluster data store, backups, or the provider layer can read secret contents without needing a customer-held key, accelerating credential theft and further compromise.

Absence of customer-managed key encryption weakens separation of duties and reduces the ability to contain a breach by revoking access to protected data. Secret exposure can cascade into unauthorized access across the applications and services those secrets authenticate, and it undermines compliance requirements that mandate customer control over encryption keys. Enforcing bring-your-own-key ensures that access to secret data can be centrally governed and immediately cut off when a key is disabled.

Enable bring-your-own-key encryption on all Kubernetes clusters so that keyProtectEnabled is true, backing cluster secrets with a customer-managed root key stored in a key management service. Configure key rotation policies, restrict key administration through least-privilege access, and monitor key usage to maintain continuous control over the encryption of secret data.

### Remediation

**Manual steps:**

IBM Kubernetes Cluster - Manual remediation steps:

1. Log in to your IBM Cloud console.
2. To view the list of services that are available on IBM Cloud, click 'Catalog'.
3. From the 'All Categories' navigation pane, click the 'Security' category.
4. From the list of services, click the Key Protect tile.
5. Select a service plan, and click Create to provision an instance of Key Protect in the account, region, and resource group where you are logged in.
6. To view a list of your resources, go to 'Menu > Resource List'.
7. From your IBM Cloud resource list, select your provisioned instance of Key Protect.
8. To create a new key, click 'Add +' and select the 'Create a key' window. Specify the key's name and key type.
9. When you are finished filling out the key's details, click 'Add key' to confirm.
10. From the Clusters console, select the cluster that you want to enable encryption for.
11. On the 'Overview' tab, under the 'Cluster details' section, click on 'Enable' at the 'Cluster encryption' field.
12. In the 'Enable cluster encryption' panel, under 'Select the root key by', select 'Instance'.
13. Select the 'Key management service instance' and 'Root key' that you want to use for the encryption.
14. Click 'Enable'.
15. Verify that the KMS enablement process is finished. You can check the progress in the 'Master status' section on the 'Overview' tab.
16. After the KMS provider is enabled in the cluster, data and new secrets that are created in the cluster are automatically encrypted by using your root key.


---

# 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-kubernetes-secrets-data-is-not-encrypted-with-bring-your-own-key.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.
