Skip to content
Glossary · Compliance

Encryption at rest

Also called data-at-rest encryption, storage encryption.

Definition

Encrypting stored data, such as databases, files and backups, so it cannot be read without the key.

Last updated

What it is.

Encryption at rest protects data where it sits: database storage, object storage, disks, backups and laptops. Most cloud providers can switch it on for managed storage. Some systems add field-level or application-level encryption for the most sensitive values, so even someone with database access cannot read them.

Rules refer to it in different ways. The HIPAA Security Rule lists encryption of ePHI as an addressable safeguard in 45 CFR 164.312, and GDPR Article 32 names encryption as an example of an appropriate security measure. NIST SP 800-111 covers storage encryption for devices.

Why it matters

If storage, a backup or a laptop is lost or copied, encryption at rest turns a data breach into lost ciphertext. It is one of the first questions in security reviews and SOC 2 audits. It does not protect against someone using a valid login, which is why access control still matters.

In a product build

Turning on storage encryption, setting up key management and deciding which fields need extra encryption are hosting decisions made at the start of a build, and much harder to change once data exists.

Watch out

Common mistakes.

  1. 01

    Keeping the keys next to the data, which makes the encryption decorative.

  2. 02

    Encrypting the database but not exports, files or backups.

  3. 03

    Thinking encryption at rest means data is safe from the application's own users.

Sources

Read the official text.

Primary sources this definition is based on.

Tools

Work it out with a tool.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab