> 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-object-storage-bucket-is-not-encrypted-with-byok-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 Object Storage bucket is not encrypted with BYOK (bring your own key)

### Synopsis

| Field               | Value                                                                           |
| ------------------- | ------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                       |
| Finding Type        | IBM Cloud Object Storage bucket is not encrypted with BYOK (bring your own key) |
| Finding ID          | 60000799                                                                        |
| Generates a Finding | This detection rule also generates a finding                                    |
| Severity            | Medium                                                                          |
| Category            | CONFIGURATION                                                                   |
| Cloud Providers     | IBM\_CLOUD                                                                      |
| Platform Module     | CSPM                                                                            |
| Asset Types         | IBM\_CLOUD\_OBJECT\_STORAGE\_BUCKET, IBM\_KEY\_PROTECT\_REGISTRATION            |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                                 |
| ATT\&CK Technique   | T1486 (T1486)                                                                   |

### Description

IBM Cloud Object Storage encrypts every bucket at rest by default using keys that IBM manages. Bring your own key (BYOK) replaces that provider-managed key with a root key held in Key Protect or Hyper Protect Crypto Services, which the account owner controls. IBM records a registration linking the key to the bucket CRN.

This policy identifies Object Storage buckets that have no such registration and therefore rely solely on provider-managed encryption. Buckets in nine regional location constraints are excluded because customer managed encryption is not offered there. The check joins every bucket against the set of Key Protect registrations and reports the buckets whose CRN appears in no registration.

Without a customer managed key, the account owner cannot independently revoke access to the data, cannot enforce their own rotation schedule, and cannot produce a cryptographic audit trail separate from the provider. If the storage account is compromised or data must be rendered unreadable quickly, there is no key the owner can disable to achieve that. Regulated workloads frequently require that the tenant retain sole authority over the key protecting their data, and provider-managed encryption cannot satisfy that control.

As a remediation, create or select a root key in Key Protect, then recreate the affected bucket with that key assigned as its encryption key, since the encryption key cannot be changed on an existing bucket. Copy the existing objects into the new bucket, verify the Key Protect registration now lists the bucket CRN, and then retire the original bucket.

### Remediation

**Manual steps:**

IBM Cloud Object Storage Bucket, IBM Key Protect Registration - Manual remediation steps:

IBM Cloud object storage bucket can be encrypted with Bring your own key (BYOK) only at the time of creation.

Please create a bucket with bring your own key encryption along with other required configuration as required using the below URL:

<https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-tutorial-kp-encrypt-bucket#kp-encrypt-bucket-create>

Once the new bucket is created, Please transfer existing bucket objects to the new bucket with proper encryption configured using the below URL:

<https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-region-copy>

To delete the alerted bucket, please follow the below instructions:

1. Log in to the IBM Cloud Console
2. Click on the 'Navigation Menu' icon and navigate to 'Resource list'. Under the 'Storage' section, select the object storage instance in which the reported bucket resides.
3. For the alerted bucket, select the 'Delete bucket' option from the kebab menu.
4. In the 'Delete Bucket' dialog, select 'Delete bucket'.


---

# 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-object-storage-bucket-is-not-encrypted-with-byok-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.
