Cybersecurity glossary

What is Encryption at Rest?

Learn what encryption at rest protects, how disk, volume, database, and application-level encryption differ, why key custody matters, and where storage encryption stops helping.

Cryptography and TLSUpdated August 11, 2026
Also known asdata at rest encryptionstorage encryptionpersistent data encryption

Definition

Encryption at rest protects stored data by converting files, blocks, records, or application fields into ciphertext while they sit on disks, volumes, snapshots, backups, object stores, and databases, with security depending heavily on key custody and operational controls.

Why encryption at rest matters

Encryption at rest limits the blast radius when stored data leaves its expected boundary: a laptop is stolen, a disk is recycled, a cloud snapshot is shared too broadly, a backup bucket leaks, or a database export lands in the wrong place.

It is not one feature. It is a stack of controls applied at different layers, each with different visibility into files, records, tenants, and keys.

Common layers of encryption at rest

Different storage layers answer different threat models. Mature systems often combine several instead of expecting one control to cover everything.

Disk and device encryption

Protects whole laptops, servers, or removable media when powered off, decommissioned, lost, or stolen.

Volume and object encryption

Encrypts cloud disks, buckets, snapshots, images, and managed storage below the application layer.

Database encryption

Covers tablespaces, logs, backups, or selected columns while preserving database operations and recovery workflows.

Application-level encryption

Encrypts sensitive fields before they reach shared databases, queues, search indexes, or analytics stores.

How envelope encryption usually works

Envelope encryption is the pattern behind many cloud KMS and HSM-backed storage designs. It separates frequent data encryption from tightly controlled root-key operations.

1

Create a data encryption key

The application, storage service, or KMS obtains a fresh symmetric key for a file, object, row group, tenant, or backup.

2

Encrypt the data locally

Large data is encrypted with the data key using an approved mode such as AES-GCM, AES-XTS, or another storage-appropriate construction.

3

Wrap the data key

A KMS or HSM encrypts the data key under a key-encryption key that has stricter access policy, audit, and rotation controls.

4

Store ciphertext and wrapped key

The encrypted object, metadata, nonce or IV, and encrypted data key are stored together; the unwrapped key is not persisted.

5

Authorize unwrap on read

A service identity asks the KMS to unwrap the data key, and policy decides whether that identity, context, and audit trail are acceptable.

6

Rotate without rewriting everything

Many systems can rewrap data keys under a new key-encryption key before scheduling deeper re-encryption of older data.

Encryption layers compared

LayerProtects best againstKey custody concern
Full disk or deviceLost devices, offline theft, disposal mistakesBoot secrets, recovery keys, TPM or passphrase handling
Cloud volume or objectDetached disks, snapshots, provider storage media exposureProvider-managed vs customer-managed KMS keys
Database or tablespaceDatabase files, logs, backups, exported storageDB service access to unwrap keys and rotate them safely
Column or fieldOverbroad database access, replica leaks, tenant isolation failuresApplication identities, tenant keys, search/index trade-offs
Client-sideServer-side operator access and cloud compromiseUser-held or external keys, recovery, sharing, and loss risk

Deployment checklist

  • Define which storage events you are defending against: stolen disks, leaked backups, provider access, malicious insiders, tenant isolation failures, or cloud account compromise.
  • Use approved algorithms and modes for the layer, such as AES-XTS for disk sectors and AEAD modes for application data.
  • Keep encryption keys outside the data store they protect; use a KMS, HSM, TPM, or dedicated secrets service rather than config files.
  • Separate key administrators from data readers so key custody does not collapse into ordinary database access.
  • Use envelope encryption for large datasets and per-object or per-tenant data keys where isolation and rotation matter.
  • Log key unwrap, decrypt, policy, and rotation events without logging plaintext, keys, nonces that reveal secrets, or sensitive context.
  • Test backup restore, key rotation, key revocation, and disaster recovery before relying on encrypted archives.
  • Document what remains exposed when the OS, hypervisor, database process, or application runtime is compromised.

Key custody decides the real boundary

Encrypted storage is only as independent as its keys. If the same administrator can read the database and export the KMS key policy, encryption may still help with media theft but does little against privileged misuse.

Provider-managed keys are easy to operate and usually enough for baseline compliance. Customer-managed keys add policy control, deletion workflow, audit scope, and separation from storage teams. External key managers and HSMs can create a stronger boundary, but they also introduce availability, latency, recovery, and lost-key risk.

Limits when the OS or application is compromised

Encryption at rest protects stored bytes, not every path to plaintext. A running server has already unlocked many layers: mounted volumes expose files, database engines decrypt pages for queries, and applications decrypt fields to serve users. Malware with root access, a stolen service credential, or a malicious plugin may ask the trusted system to decrypt data instead of breaking the cipher.

That is why storage encryption belongs beside least privilege, endpoint hardening, patching, workload identity, runtime monitoring, backup access control, and network encryption. It lowers the damage from common storage exposures, but it does not make a compromised trusted computing base trustworthy.

The practical takeaway

Use encryption at rest as a layered storage control with clear key ownership. Combine disk, volume, database, and application-level encryption according to the data path, put keys under auditable custody, and be explicit about which compromises still reveal plaintext.

Related security terms

Frequently asked questions

What is encryption at rest in simple terms?

Encryption at rest means stored data is unreadable without the right key. It protects files, volumes, databases, backups, and snapshots if storage media or cloud accounts are exposed.

Does full-disk encryption protect a running server?

Only partially. Full-disk encryption is strongest when a device is powered off or storage is detached. Once the OS has unlocked the disk, malware or an attacker with system privileges may read plaintext through normal file or database access.

How is database encryption different from disk encryption?

Disk encryption protects blocks below the filesystem. Database encryption can protect tablespaces, logs, backups, or selected columns and may offer finer audit, separation, and key rotation controls.

When should applications encrypt fields themselves?

Use application-level encryption when the database operator should not see certain values, when individual tenants need separate keys, or when sensitive fields require protection across replicas, exports, and analytics pipelines.

What is envelope encryption?

Envelope encryption encrypts data with a data encryption key, then encrypts that data key with a higher-level key in a KMS or HSM. It lets systems rotate and audit master keys without re-encrypting every byte immediately.

Who should hold encryption keys?

Key custody depends on the risk model. Provider-managed keys reduce operational work; customer-managed keys add policy and audit control; externally held keys or HSM-backed keys increase separation but require mature recovery processes.

Does encryption at rest replace access control?

No. Access control, secrets management, logging, backups, patching, and endpoint protection are still required. If a trusted service or compromised OS can legitimately decrypt data, storage encryption alone will not stop misuse.

References

Explore authoritative guidance and frameworks related to encryption at rest.

Explore every security definition

Return to the glossary to search by term, alias, starting letter, or security category.

Browse glossary