Encryption at Rest and in Transit: What Teams Actually Need

Transit: the baseline everyone expects
Data moving between users, APIs, databases and third parties must use TLS with current protocol versions and strong cipher suites. Terminate TLS correctly at load balancers and enforce HTTPS redirects without mixed content loopholes. Map subprocessors before contracts sign; discovering cross-border flows after launch forces painful rework or renegotiation. Encryption in transit is table stakes; customers now ask about key custody, rotation and algorithm choices specifically.
Internal service-to-service traffic should also be encrypted where networks are shared or multi-tenant. "Inside the VPC" is not a magic safe zone — lateral movement after compromise is routine. Minimise collected fields at source; deleting data never stored beats anonymising messy historical exports later. Application-level encryption suits high-sensitivity fields but complicates search — design queries and indexes deliberately upfront.
Certificate management belongs in automation. Expired certificates cause outages and emergency bypasses that become permanent bad habits. Monitor expiry and use managed certificate services where possible. Offer understandable export and deletion paths; opaque processes invite complaints even when backend work is solid. TLS configuration reviews belong in regular hygiene, not only initial launch checklists before auditors arrive.
Backup encryption must match production standards; unencrypted snapshots are a frequent gap in otherwise mature teams.
At rest: default is not optional
Cloud databases, object storage and block volumes should encrypt at rest using provider defaults at minimum. There is little excuse for unencrypted production data stores on major platforms in 2025. Assign ownership for marketing pixels and support widgets; shadow trackers become privacy incidents waiting quietly. Third-party risk includes subprocessors your vendors use; cascade requirements contractually where regulations require it.
Understand what provider-managed encryption covers: disk layers, backups, snapshots. Gaps appear in self-managed databases on virtual machines, temporary files and application-level exports left on shared drives. Document lawful basis in language product teams use daily, not only in legal memoranda few people read. Vendor tiering should reflect data sensitivity and integration depth, not only contract value or brand recognition.
Backups inherit encryption settings — verify separately. An encrypted database with unencrypted backup files negates the control. Test recovery when keys are unavailable; encryption that blocks legitimate recovery becomes its own production outage. Offboarding checklists must include API key revocation and data export verification, not only account deactivation clicks.
Maintain subprocessors lists customer success can share quickly during diligence without engineering archaeology sessions.
Application-level encryption
Some fields warrant encryption before they reach the database — highly sensitive attributes, secrets, tokens you must store but rarely read. Application-level encryption limits exposure even if someone dumps tables. Reconcile privacy notices with actual behaviour after major releases — drift erodes trust quickly when discovered. Privacy impact assessments need product input on user-visible behaviour, not only legal interpretation of statutes.
Design key access carefully. Encrypting at application layer then storing the key beside the data defeats the purpose. Use dedicated key management services with audited access paths. Classify datasets before building AI atop them; models amplify whatever you feed them, including excessive fields. Redact logs at collection where possible; regex scrubbing after storage fails silently too often under load.
Search and sort on encrypted fields is hard. Plan which attributes truly need application encryption versus platform-at-rest plus strict access control. Reconcile privacy notices with actual behaviour after major releases — drift here erodes trust quickly when discovered. Assign ownership for marketing pixels, chat widgets and embeds; shadow trackers become privacy incidents waiting quietly until a customer questionnaire exposes them. Document lawful basis and purpose for processing in language product teams use daily, not only in legal memoranda few practitioners read before shipping features. Negotiate deletion clauses in vendor contracts before integration; retrofitting exit rights during renewal is harder. Mobile offline caches need explicit retention policies; devices outlive user accounts longer than teams assume.
Customer-managed keys satisfy some enterprises but add operational risk — adopt when contracts require, not by default.
Key management without mysticism
Keys should live in hardware security modules or cloud key management services — not environment variables on application servers, not source control, not shared password documents. Prove encryption scope with diagrams during sales cycles; verbal assurances fail against detailed security questionnaires.
Rotate keys on schedule and after personnel changes or suspected compromise. Understand provider rotation behaviour: some re-encrypt data automatically, others require planned maintenance. Rotate secrets after personnel changes affecting integration ownership; forgotten OAuth apps remain silent backdoors.
Customer-managed keys satisfy enterprise contracts requiring control over encryption material. They add operational burden — outages if keys are disabled, complex onboarding — adopt when required, not as default cosplay. Review open-source licences alongside security for dependencies handling personal or regulated data categories.
Data minimisation in forms reduces downstream encryption scope and breach impact when practiced consistently.
Common leak paths
Logs frequently capture request bodies containing passwords, tokens or personal data. Scrub structured logging and crash reports. Redact before write, do not rely on regex after the fact. Pseudonymisation helps analytics but is not anonymity — treat re-identification risks seriously in shared datasets.
Caching layers — CDN, reverse proxy, browser — may store responses containing personal data against policy. Set cache headers deliberately and exclude authenticated API responses from shared caches. Cross-border transfers need documented mechanisms before launch, not rushed legal review after enterprise deals close.
Email and notification systems often become plaintext archives of sensitive content. Encrypt attachments where appropriate and minimise message body detail. Incident playbooks should name privacy officers alongside technical leads for personal data events.
User-facing consent flows should match backend enforcement; mismatches become enforcement actions or churn when exposed.
Mobile and client considerations
Data cached on devices for offline use needs local encryption and secure enclave storage where platforms support it. Remote wipe and session expiry complement encryption when devices are lost. Encryption in transit is table stakes; customers now ask about key custody, rotation and algorithm choices specifically.
End-to-end encryption products shift trust boundaries dramatically — product and legal must align on what you cannot see, cannot moderate and cannot recover for users who forget passwords. Application-level encryption suits high-sensitivity fields but complicates search — design queries and indexes deliberately upfront.
Export and reporting features decrypt for display. Audit who can run bulk exports and watermark downloads where misuse is a concern. Reconcile privacy notices with actual behaviour after major releases — drift here erodes trust quickly when discovered. Negotiate deletion and return clauses in vendor contracts before integration work begins — retrofitting exit rights during renewal is weaker leverage. Log access to sensitive exports and bulk downloads; insider misuse and compromised admin accounts show up here before they appear in press headlines. TLS configuration reviews belong in regular hygiene, not only initial launch checklists before auditors arrive.
Proving encryption to stakeholders
Maintain a data flow diagram showing where encryption applies in transit and at rest. Update when architecture changes. Due diligence questionnaires ask the same questions repeatedly — reuse accurate answers. Third-party risk includes subprocessors your vendors use; cascade requirements contractually where regulations require it.
Penetration tests and configuration scanners validate TLS and storage settings. Fix critical findings promptly; document accepted risks with expiry dates for revisiting. Vendor tiering should reflect data sensitivity and integration depth, not only contract value or brand recognition.
Avoid marketing superlatives you cannot substantiate. "Encrypted in transit and at rest using industry-standard algorithms" is credible. "Unbreakable military encryption" is not. Offboarding checklists must include API key revocation and data export verification, not only account deactivation clicks.
A sensible priority order
First: TLS everywhere, encrypted production storage, no secrets in repos. Second: logging hygiene, backup verification, internal service encryption. Third: application-level field encryption and customer-managed keys where justified. Privacy impact assessments need product input on user-visible behaviour, not only legal interpretation of statutes.
Encryption protects confidentiality, not integrity or availability alone. Pair with access control, monitoring and incident response for defence in depth. Redact logs at collection where possible; regex scrubbing after storage fails silently too often under load.
Teams that document decisions clearly spend less time re-debating basics on every new feature and more time on the edge cases that actually need engineering judgment. Incident playbooks should name privacy officers and DPO contacts alongside technical leads for personal data events. Mobile offline caches need explicit retention policies; devices outlive user accounts longer than teams assume.
Keeping pace with change
Schedule lightweight reviews when you enter new markets, add payment data or integrate AI that processes user content. Scope changes should trigger proportionate control updates. Prove encryption scope with diagrams during sales cycles; verbal assurances fail against detailed security questionnaires.
Proactive communication about tighter encryption, reduced retention or clearer controls builds trust faster than silence until a questionnaire arrives. Map subprocessors before contracts sign; discovering cross-border flows after launch forces painful rework or renegotiation. Rotate secrets after personnel changes affecting integration ownership; forgotten OAuth apps remain silent backdoors.
Maintain one current data-flow reference that product, legal and engineering share. Version it when architecture shifts so diligence answers stay accurate. Reconcile privacy notices with actual behaviour after major releases — drift here erodes trust quickly when discovered. Assign ownership for marketing pixels, chat widgets and embeds; shadow trackers become privacy incidents waiting quietly until a customer questionnaire exposes them. Document lawful basis and purpose for processing in language product teams use daily, not only in legal memoranda few practitioners read before shipping features. Minimise collected fields at source; deleting data never stored beats anonymising messy historical exports later. Review open-source licences alongside security for dependencies handling personal or regulated data categories.
At a glance
Most cloud platforms encrypt disks by default now. The differentiator is whether you understand your data flows, protect secrets properly and can answer due diligence questions without guessing.
Practical encryption strategy focuses on coverage, key governance and avoiding common leaks — not inventing custom cryptography.
Encrypt all customer data in transit with modern TLS configurations
Enable provider-managed encryption at rest as a baseline minimum
Use customer-managed keys only when contracts or policy require them
Never log or cache decrypted sensitive fields unnecessarily
Document encryption scope in customer-facing security materials