Skip to main content
Five Steps for Cloud Compliance Readiness·A practical playbook for security teamsDownload
CIS Amazon Web Services Foundations v7.0.0 · 3.3.1

EFS file systems should be encrypted at rest

  • Level 1

This check looks at each Amazon EFS file system and whether encryption at rest is on. The safe setting is an encrypted file system, using an AWS KMS key.

Why it matters

An EFS file system often holds shared application data, home directories or backups of sensitive files. Encryption at rest protects the stored data and metadata if the underlying storage is ever accessed without authorisation. EFS encrypts file contents with an AWS KMS key, either the AWS owned key for EFS or a customer managed key, and encrypts file and directory names with a key it manages internally. It handles encryption and decryption transparently, so applications need no changes.

AWS states that from September 4, 2026 every new EFS file system is encrypted, whether created in the console, CLI, API or an SDK. File systems made earlier and left unencrypted stay unencrypted, which is what this check finds. The encryption setting cannot be changed after creation.

Source: Encrypting data at rest in the Amazon EFS user guide.

How to check it yourself

In the Amazon EFS console, open File systems, select one and look at the Encrypted value on the General tab. Repeat for each Region you use.

Read-only AWS CLI:

aws efs describe-file-systems --query "FileSystems[].{Id:FileSystemId,Name:Name,Encrypted:Encrypted,KmsKeyId:KmsKeyId}"

Any file system showing Encrypted: false needs attention.

How to fix it

You cannot turn encryption on for an existing file system. AWS's documented route is to replicate the data into a new, encrypted file system and then point your workloads at it. In the console, select the unencrypted file system and use its Replication tab to create a replica, choosing a KMS key for the destination. Read AWS's replication page before you start, because the destination options matter.

aws efs create-replication-configuration --source-file-system-id <fs-id> --destinations Region=<region>,KmsKeyId=<kms-key-id>

When the copy is in sync, plan a cut-over: remount clients to the new file system, check the application, and only then retire the old one. If you use a customer managed key, its policy must allow the EFS service as described in the AWS guide. ConfigCobra itself never changes your AWS account; these steps are yours to run.

What changes when you fix it

This is a migration, so plan for it. Clients that mount the old file system have to be switched to the new one, which means a new file system ID in mount configuration, infrastructure templates and any access points. Expect a short maintenance window for the final sync and remount. While both file systems exist you pay for both. AWS says encryption and decryption are transparent to applications, so the data itself should behave the same. If you choose a customer managed KMS key, whoever manages that key now also controls EFS access, and revoking its grant stops EFS from using the key. You can enforce encrypted creation going forward with the elasticfilesystem:Encrypted IAM condition key or a service control policy.

Included in

BenchmarkCIS IDProfile
CIS Amazon Web Services Foundations v7.0.03.3.1Level 1

Check this on your AWS

ConfigCobra runs this check with every other control of the CIS Amazon Web Services Benchmarks, read-only.

Get in touch

Let's talk.

Whether you're evaluating ConfigCobra, running an audit, or managing a client fleet — we respond within one business day.

Free trial