Encryption at rest protects data stored on disks, servers, databases, and cloud storage. Encryption in transit protects data moving across networks, such as web traffic, API calls, email, or file transfer. Both are needed because attackers can target stored data and intercepted data differently. Strong programmes cover both, with consistent key management and policy enforcement.
Why This Matters for Security Teams
Encryption at rest and encryption in transit solve different exposure problems, so treating them as interchangeable creates avoidable risk. A database volume encrypted on disk can still leak through unencrypted API traffic, while strong TLS on the wire does nothing if snapshots, backups, or object storage are exposed. Security teams also need to align encryption with key management, access control, and logging, because weak operational handling can nullify the technical control. NIST control guidance in NIST SP 800-53 Rev 5 Security and Privacy Controls remains a useful baseline for mapping those responsibilities.
The practical challenge is that encryption is often reported as a box-ticked compliance item, while the real risk sits in where the keys are stored, who can decrypt, and whether traffic ever leaves trusted boundaries in cleartext. That is especially important in cloud environments, where storage encryption may be enabled by default but cross-service communications, backups, and exports still need explicit protection. In practice, many security teams encounter encryption gaps only after a storage misconfiguration or packet capture has already exposed the data, rather than through intentional review.
How It Works in Practice
Encryption at rest protects data when it is stored in a persistent form, such as on a server disk, database table, object bucket, backup tape, or virtual machine snapshot. It is usually implemented through storage-level, filesystem-level, database-level, or application-level encryption. Encryption in transit protects data while it moves between systems, including browser sessions, API traffic, service-to-service calls, email relays, and file transfer pipelines. In most environments, the transport control is provided by TLS, sometimes with mutual authentication for internal services.
In a mature programme, both controls are paired with policy decisions about which data must always be encrypted, which protocols are allowed, and who can manage keys. Operationally, that means:
- Encrypting storage, backups, and replicas by default, not only primary databases.
- Enforcing TLS for external and internal traffic, including API and automation paths.
- Separating key management from data access, with strong audit logging.
- Validating cipher suites, certificate lifecycles, and rotation procedures.
- Testing whether logs, exports, caches, and queues also carry sensitive data.
For cloud and containerised systems, the distinction matters because one control may be service-managed while the other remains the customer’s responsibility. Guidance from NIST SP 800-207 Zero Trust Architecture reinforces the idea that trust should not depend on network location alone, so encryption in transit becomes part of a wider verification model rather than a standalone setting. These controls tend to break down when microservices, legacy apps, and third-party integrations exchange data over mixed protocols because encryption coverage becomes inconsistent across trust boundaries.
Common Variations and Edge Cases
Tighter encryption often increases operational overhead, requiring organisations to balance stronger protection against latency, certificate management, and recovery complexity. That tradeoff shows up most clearly in systems that rely on search indexing, analytics pipelines, or high-volume service calls, where teams may be tempted to exempt traffic or delay key rotation to reduce friction. Current guidance suggests that exceptions should be narrow, documented, and risk-approved rather than treated as permanent design choices.
There are also edge cases where the usual distinction becomes less visible. Client-side encryption can protect data before it reaches a cloud platform, but then search, deduplication, and content inspection may be limited. End-to-end encryption can protect message content while leaving metadata exposed. In some regulated environments, application-layer encryption is preferred for highly sensitive fields, but it demands careful handling of tokenisation, indexing, and access workflows. For data flows involving personal information, the accountability expectations in NIST SP 800-53 Rev 5 Security and Privacy Controls should be mapped alongside retention and disclosure requirements.
Where this guidance becomes less straightforward is in distributed systems with event streaming, managed SaaS integrations, or cross-border transfer rules, because encryption controls may be technically present but operationally incomplete if keys, access paths, and third-party processing are not equally governed.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the technical controls, while PCI DSS v4.0 define the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.DS-1 | Data-at-rest protection maps directly to encrypted storage and backups. |
| NIST Zero Trust (SP 800-207) | Zero Trust assumes networks are untrusted, strengthening transit encryption decisions. | |
| PCI DSS v4.0 | 4.2.1 | Payment data in transit must be protected with strong cryptography. |
Treat every connection as untrusted and require encrypted, verified communications.
Related resources from NHI Mgmt Group
- What is the difference between at-rest protection and runtime protection?
- What is the difference between encryption and access control in AWS data protection?
- What is the difference between symmetric and asymmetric encryption for IAM use cases?
- What is the difference between TLS encryption and TLS authentication?