Data protection and cryptography
Encryption Policy: What to Encrypt, Key Management Rules and How to Prove It's Working
In this guide
Quick answer: An encryption policy sets the rules for using cryptography to protect the confidentiality and integrity of data. It should define what must be encrypted in transit (all network connections, using current TLS) and at rest (production databases, file storage, backups and laptops), the approved algorithms and protocols, how encryption keys are generated, stored, accessed, rotated and destroyed, and what you expect from vendors that handle your data.
| At a glance | |
|---|---|
| Who typically owns it | CTO, with the security manager or infrastructure lead enforcing it |
| Who should read and acknowledge it | Engineering, infrastructure and security staff |
| Typical review cycle | Annually, and when infrastructure or cryptographic standards change |
| Relevant frameworks | ISO 27001 (Annex A 8.24), SOC 2 (CC6.1, CC6.7), HIPAA (encryption standards), GDPR (Article 32) |
| Works with | Data Classification, Network Security, Backup, Vendor Risk and Asset Management policies |
What is an encryption policy?
An encryption policy, sometimes called a cryptography policy, defines how your company uses encryption to protect data. It covers two kinds of encryption and one critical supporting process:
- Encryption in transit: protecting data as it moves across networks, such as between a user's browser and your application, or between services.
- Encryption at rest: protecting stored data, such as databases, file storage, backups and laptop drives.
- Key management: controlling the keys that lock and unlock encrypted data. Encryption is only as strong as the protection of its keys.
Why does your company need an encryption policy?
Because encryption turns a stolen laptop or leaked backup from a data breach into a non-event. If data is properly encrypted and the keys are safe, exposure of the storage doesn't expose the data.
An encryption policy also:
- Meets audit and customer requirements. ISO 27001 Annex A 8.24 requires rules for the effective use of cryptography, including key management. SOC 2 auditors look at encryption under CC6.1 and CC6.7. Customers ask about encryption in almost every security questionnaire.
- Supports regulatory compliance. GDPR names encryption as an example of an appropriate security measure, and HIPAA includes encryption standards for electronic protected health information.
- Can reduce breach notification obligations. Many breach notification laws, including California's and HIPAA's, treat properly encrypted data differently from unencrypted data.
When does an encryption policy matter most?
Encryption is expected almost everywhere now, and cloud providers turn much of it on by default. How much policy you need depends on how much of the work is yours.
It carries more weight when:
- You hold regulated or highly sensitive data, such as health or financial information.
- You manage your own servers, databases or encryption keys.
- Customers ask for customer-managed keys or specific encryption commitments.
- Data moves between many systems, regions or vendors.
It can be lighter when:
- You use managed cloud databases and storage with default encryption and provider-managed keys.
- All traffic runs over TLS through a CDN or load balancer.
- You hold little sensitive data.
In the lighter case, a one-page policy with a short scope table and a line on key management is usually enough.
What should an encryption policy include?
| Section | What it covers |
|---|---|
| Purpose | Protecting the confidentiality, privacy and integrity of sensitive data with cryptographic controls |
| Roles and responsibilities | Policy owner and who monitors and enforces it |
| Encryption scope | A table of systems and data, the type of encryption and the standard used |
| Encryption in transit | Minimum TLS versions, where TLS is required, and internal service-to-service encryption |
| Encryption at rest | Databases, file storage, backups, laptops and mobile devices |
| Approved algorithms and protocols | For example AES-256 for data at rest and TLS 1.2 or higher for data in transit |
| Key management | Generation, storage, access, backup, rotation and destruction of keys |
| Vendors and sub-processors | Expectations that vendors encrypt your data in transit and at rest with sound key management |
| Exemptions | Who approves exceptions and how they're recorded |
A sample encryption scope table
| System or data | Encryption type | Standard |
|---|---|---|
| Public website and application | In transit | TLS 1.2 or higher (TLS 1.3 preferred) |
| APIs and service-to-service traffic | In transit | TLS 1.2 or higher |
| Production databases | At rest | AES-256, keys in a managed key service |
| File and object storage | At rest | AES-256 |
| Backups and snapshots | At rest | AES-256 |
| macOS laptops | Full-disk | FileVault (XTS-AES) |
| Windows laptops | Full-disk | BitLocker (XTS-AES) |
| Mobile devices | Device | Built-in device encryption, enforced passcode |
| VPN (if used) | In transit | Current protocols such as WireGuard or IPsec |
What should you adapt when starting from an encryption policy template?
1. Add encryption at rest for your data stores. It's surprisingly common for template scope tables to list encryption in transit and laptop encryption, but leave out the production databases, storage buckets and backups that hold your most sensitive data. Make sure every production data store holding non-public data is in the table.
2. Describe encryption in transit accurately. Some templates list "AES-256" for website or cloud traffic. In practice, in-transit encryption is defined by the protocol, so specify TLS versions, for example TLS 1.2 or higher with TLS 1.0 and 1.1 disabled.
3. List your real systems. Replace example rows with your actual infrastructure, application, storage and devices.
4. Only include a VPN if you run one. Many cloud-first companies don't use a corporate VPN. Remove the row if it doesn't apply.
5. Name your key management service. State whether you use your cloud provider's key management service (such as AWS KMS, Google Cloud KMS or Azure Key Vault), a dedicated secrets manager such as HashiCorp Vault, or both, and who can administer keys.
6. Set rotation you'll actually perform. Managed key services can rotate keys automatically, commonly once a year. State the rotation period and make sure it's configured.
7. Cover application-level cryptography. If you store user passwords, state that they're hashed with a modern algorithm such as Argon2, bcrypt or scrypt, never stored in reversible form. If you encrypt specific fields, say how.
What context does AI need to draft a good encryption policy?
AI assistants know encryption standards well. What they don't know is your infrastructure, so drafts often miss data stores or describe tools you don't use. Provide:
| Context to provide | Why it matters |
|---|---|
| Cloud provider and the managed services you use | Defines what's encrypted and how |
| Every production data store: databases, object storage, search, backups | Builds a complete scope table |
| How traffic is served: CDN, load balancer, minimum TLS version | Fills the in-transit section |
| Key management service and who can administer keys | Fills the key management section |
| Key rotation settings | States rotation you actually perform |
| Device types and how disk encryption is enforced | Covers laptops and phones |
| Whether you run a VPN | Decides whether to include it |
| How user passwords are stored, if you build authentication | Adds application-level rules |
| Regulations or customer commitments about encryption | Adds specific requirements |
Example prompt
Draft an encryption policy for Acme, a SaaS company on AWS preparing for SOC 2.
Data stores: Amazon RDS (PostgreSQL), S3, OpenSearch, AWS Backup vaults, all encrypted with AWS KMS
customer-managed keys rotated annually; only two platform engineers administer keys.
Traffic: Cloudflare in front of an ALB, TLS 1.2 minimum. Laptops: Macs with FileVault enforced by Jamf.
No VPN. User passwords are hashed with Argon2. Include a scope table and keep it to one page.
What's nice to have, and what can you leave out?
Worth adding:
- Customer-managed keys for enterprise customers who want control over the keys protecting their data.
- Certificate management rules, such as automated renewal and monitoring for expiry.
- HSTS and secure cookie settings for web applications.
- Crypto agility and post-quantum planning. The first post-quantum cryptography standards were published in 2024. A line committing to track and adopt them as your providers support them shows forward planning.
Usually safe to leave out:
- Detailed explanations of how algorithms work.
- Long lists of cipher suites, which are better kept in configuration standards.
- Rows for systems you don't use.
Do employees need to sign the encryption policy?
Optional for most staff. The encryption policy governs how engineers and infrastructure owners configure systems. General staff don't make encryption decisions. Their part, keeping laptop encryption turned on and not moving data to unapproved places, is covered by the acceptable use policy. Engineering, infrastructure and security staff should know this policy and confirm they've read it.
How does an encryption policy turn into day-to-day operations?
| Policy requirement | How it runs in practice | Typical systems | Evidence an auditor may ask for |
|---|---|---|---|
| TLS on all external connections | TLS terminated at the load balancer or CDN, with old protocols disabled and certificates auto-renewed | Cloudflare, AWS Certificate Manager, Let's Encrypt, load balancers | TLS configuration, SSL Labs report |
| Encrypt production databases at rest | Encryption enabled at creation using managed keys | Amazon RDS, Aurora, Google Cloud SQL, Azure SQL, MongoDB Atlas | Database encryption settings |
| Encrypt storage and backups | Default encryption on buckets and backup vaults | Amazon S3, Google Cloud Storage, AWS Backup | Storage and backup encryption settings |
| Detect unencrypted resources | Automated rules flag unencrypted databases, volumes and buckets | AWS Config, AWS Security Hub, cloud security posture tools, Prowler | Compliance findings and remediation |
| Laptop full-disk encryption | Enforced by device management with recovery keys escrowed | Microsoft Intune (BitLocker), Jamf or Kandji (FileVault) | Device compliance report |
| Key management | Keys created and stored in a managed service, with admin access restricted and usage logged | AWS KMS, Google Cloud KMS, Azure Key Vault, HashiCorp Vault | Key policies, access list, CloudTrail logs |
| Key rotation | Automatic rotation enabled on customer-managed keys | Key management service | Rotation settings |
| Password hashing | Modern hashing library in the application | Application code | Code or design documentation |
| Vendor encryption | Vendor assessments confirm encryption in transit and at rest | Vendor register, SOC 2 reports | Vendor assessments |
What systems and tools support encryption?
- Managed key services from your cloud provider, which integrate with databases, storage and backups.
- Secrets managers for application secrets and keys outside the cloud provider's native services.
- CDNs and load balancers that terminate TLS and manage certificates.
- Device management to enforce and verify laptop encryption and escrow recovery keys.
- Cloud security posture tools to continuously check that resources are encrypted.
- External scanners such as SSL Labs to verify your public TLS configuration.
What are the common challenges with encryption?
Encryption is assumed, not verified. Teams assume the cloud encrypts everything by default. Many services do now, but not all, and older resources may predate defaults. Use automated checks to confirm.
Keys are too widely accessible. If everyone with admin access can use every key, encryption at rest adds little protection against insiders or compromised admin accounts. Restrict key administration and usage, and log access.
Expired certificates cause outages. A forgotten certificate renewal can take down your site. Automate renewal and monitor expiry dates.
Legacy protocols linger. Old TLS versions stay enabled for compatibility long after they're needed. Review and disable them.
Lost recovery keys. If laptop recovery keys aren't escrowed, a locked device means lost data. Escrow keys in your device management tool.
The policy lists the wrong algorithms. Templates sometimes confuse at-rest and in-transit standards. Keep the policy accurate so it can be tested.
What do auditors typically look at?
Auditors focus on whether sensitive data is protected in the ways your policy describes. They'll often look at:
- A scope that covers the data stores, backups and devices that hold sensitive data.
- Encryption settings for production databases and storage.
- TLS configuration for data in transit.
- How laptop or device encryption is handled, which may be through device management or another approach that fits your endpoint model.
- How encryption keys are managed and who can access them.
- Whether vendors holding your data encrypt it.
Where your cloud provider handles encryption by default, configuration screenshots or reports are usually enough evidence.
How often should you review your encryption policy?
Annually, and whenever you add new data stores or infrastructure, change cloud providers, or when cryptographic standards change, such as deprecation of an algorithm or protocol.
Frequently asked questions
What should be encrypted?
At minimum: all data in transit over networks, production databases, file and object storage, backups and laptops. Mobile devices with access to company data should use built-in encryption with a passcode. Restricted data may need additional protection such as field-level encryption.
What is the difference between encryption at rest and in transit?
Encryption in transit protects data while it moves between systems, usually with TLS. Encryption at rest protects stored data on disks, databases and backups, usually with AES-256. You need both.
Is AES-256 required for SOC 2?
SOC 2 doesn't mandate specific algorithms. Auditors expect industry-standard encryption appropriate to the data. AES-256 at rest and TLS 1.2 or higher in transit are widely accepted.
What TLS version should we use?
TLS 1.2 at minimum, with TLS 1.3 preferred. TLS 1.0 and 1.1 are deprecated and should be disabled.
How often should encryption keys be rotated?
It depends on the key and its use. Annual automatic rotation is common for data encryption keys in managed key services. Rotate immediately if a key may be compromised.
Who should have access to encryption keys?
As few people as possible. Separate key administration from routine use, restrict both through IAM policies, and log every use. Applications should access keys through roles, not shared credentials.
Do we need to encrypt data stored by our vendors?
You should require vendors that hold your sensitive data to encrypt it in transit and at rest with sound key management, and confirm it through your vendor risk process.
Does encryption exempt us from breach notification?
Sometimes. Many laws treat encrypted data differently, but only if the encryption was strong and the keys weren't compromised. Check the specific laws that apply and get legal advice during any incident.