data at rest

Data that is stored rather than moving or being worked on, such as files on a disk, rows in a database or copies in a backup.

In more detail

The main threat to stored data is someone getting a copy of the storage itself: a stolen laptop, a copied database file, a leaked backup or a misconfigured storage bucket. Encryption at rest defends against that, but only if the key is kept somewhere separate, such as a key management service, because a key stored beside the encrypted file is taken along with it. Access controls and retention rules also apply to data in this state.

Examples

strings -n 12 customers.db   # shows alice@example.com in plain text
openssl enc -aes-256-cbc -pbkdf2 -pass file:db.key -in customers.db -out customers.db.enc

Related terms

Taught in

References