---
title: >-
  File storage file systems should be encrypted with a Customer Managed Key
  (CMK)
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > File storage file systems should be
  encrypted with a Customer Managed Key (CMK)
---

# File storage file systems should be encrypted with a Customer Managed Key (CMK)
 
## Description{% #description %}

Oracle Cloud Infrastructure (OCI) File Storage file systems should be encrypted with a Customer Managed Key (CMK) to provide enhanced security and control over encryption key lifecycle management. By default, File Storage file systems are encrypted with Oracle-managed keys, but using Customer Managed Keys provides additional security benefits including key rotation control, access logging, and the ability to disable keys when needed.

This rule checks the `kms_key_id` configuration of OCI File Storage file systems and fails when file systems are not configured with a Customer Managed Key.

## Remediation{% #remediation %}

To configure your OCI File Storage file system with CMK encryption, you need to specify a valid `kms_key_id` from Oracle Cloud Infrastructure Vault service. For guidance on configuring File Storage file system encryption with CMKs, refer to the [File Storage Encryption](https://docs.oracle.com/iaas/Content/File/Tasks/encrypt-file-system.htm) section of the Oracle Cloud Infrastructure Documentation.
