Encryption and Key Management Policy template (SOC 2)

Sets minimum encryption standards for data in transit and at rest and defines how cryptographic keys, secrets and certificates are generated, stored, rotated and retired.

Policy P08 of 22 · Owner: Engineering Lead · 2 criteria in the crosswalk · Apache-2.0

What this policy is for

The Encryption and Key Management Policy is one of the 22 governance policies in the Policyseed set. It is owned by the Engineering Lead, approved by the executive you name in the intake, and reviewed on the cadence you choose. Like every policy in the set it has nine numbered sections: purpose, scope, roles, policy statements, procedures, exceptions, enforcement, review cadence and a revision history table. Sections 4 and 5 carry the substance; those are the sections the Audit Kit rewrites for your named tools.

SOC 2 criteria this policy addresses

The Policyseed crosswalk maps 2 criteria to this policy. Each row names the section an auditor would read for that criterion; the criterion pages explain what it asks in plain words and list evidence examples.

CriterionWhat it coversWhere in this policy
CC6.1Logical access securitySection 4 (Policy Statements)
CC6.7Data in transit and on removable mediaSection 4 (Policy Statements)

Evidence auditors typically ask for

A policy is tested against artifacts. These are examples from the crosswalk for the criteria above, written for a small SaaS company; the Audit Kit ships the full list as an evidence checklist with an owner per row.

  • Identity provider MFA enforcement policy screenshot (for example the Okta or Google Workspace admin console)
  • Cloud IAM role and group listing for the production account
  • Encryption-at-rest settings screenshot for the production database and object storage
  • Password manager admin report showing enrollment of all staff
  • TLS configuration scan result for public endpoints (for example an SSL Labs report) showing TLS 1.2 or higher only
  • Data handling matrix from the Data Classification Policy listing approved sharing channels per classification
  • MDM policy screenshot restricting USB storage or requiring encrypted external drives

Full text: the Encryption and Key Management Policy rendered for Northwind Cloud Inc

Below is the complete template as the generator renders it for Northwind Cloud Inc, a fictional 11-50-person remote company running Northwind on AWS, Vercel, GitHub and Okta. Every name, tool and date comes from that sample intake; your answers replace them. Section headings carry anchors so the criterion pages can link straight to the section they cite.

Sample document

Northwind Cloud Inc Encryption and Key Management Policy

1. Purpose

Encryption keeps data confidential when other controls fail: a lost laptop, a misconfigured bucket or a stolen backup. This policy sets the minimum encryption standards Northwind Cloud Inc applies to data in transit and at rest and defines how the keys, secrets and certificates that make encryption effective are generated, stored, rotated and retired. Weak key management undoes strong encryption, so both are governed together in support of the SOC 2 criteria for logical access, transmission protection and confidentiality.

2. Scope

This policy applies to every system that stores, processes or transmits Northwind Cloud Inc or customer data, including all environments for Northwind, corporate SaaS tools, endpoints, backups in AWS Backup and vendor integrations with Supabase, Stripe, Datadog and Slack. The cloud platforms in scope are:

  • AWS
  • Vercel

It covers all cryptographic material: keys in cloud key management services, application secrets, signing keys, SSH keys, TLS certificates and credentials stored in GitHub Actions. It applies with particular force to the PII data that Northwind Cloud Inc handles. It binds everyone who designs, builds, operates or administers Northwind or its infrastructure.

3. Roles and Responsibilities

  • Executive Management approves this policy, funds key management and certificate automation, and accepts residual risk documented in exceptions.
  • Security Owner (Dana Whitfield, CTO) approves the permitted algorithm list, reviews cryptographic design decisions, approves exceptions and directs the response to suspected key or secret compromise.
  • Engineering implements encryption in Northwind, administers key and secrets management on AWS and Vercel, maintains the key and certificate inventory, performs rotations and responds to secret-scanning alerts.
  • People Operations ensures offboarding triggers credential revocation and secret rotation and that training covers secret handling.
  • All Personnel never store secrets in code, documents, chat or tickets; keep credentials in the approved password manager (1Password); and report suspected exposure of any key or secret to security@northwindcloud.example immediately.

4. Policy Statements

  • 4.1 Data transmitted over public networks, between Northwind and its users, and between services across a network trust boundary is encrypted with TLS 1.2 or higher, TLS 1.3 preferred. Public endpoints enforce HTTPS, send HTTP Strict Transport Security headers with at least a one-year max-age, and use plaintext HTTP only to redirect; other plaintext protocols are prohibited.
  • 4.2 All production data at rest on AWS and Vercel, including databases, object storage, volumes, snapshots, backups and log storage, is encrypted with AES-256 or a provider-equivalent algorithm, enabled before any data is written. Stores holding customer data use keys held in the provider's key management service, never keys embedded in application code.
  • 4.3 Approved algorithms are AES-128 or AES-256 in GCM or another authenticated mode, ChaCha20-Poly1305, RSA of at least 2048 bits, ECDSA and ECDH on P-256 or P-384, Ed25519, X25519 and SHA-256 or stronger. MD5, SHA-1 for signatures, DES, 3DES, RC4, RSA below 2048 bits, SSL, TLS 1.0 and TLS 1.1 are prohibited. Northwind Cloud Inc does not implement custom cryptographic algorithms or protocols.
  • 4.4 Encryption keys are generated inside the cloud provider's key management service or an equivalent hardware-backed service and never leave it in plaintext. Application data uses envelope encryption with data keys wrapped by a root key in the key management service. Key material is never exported or committed to GitHub.
  • 4.5 Application secrets, service credentials and API tokens live only in the designated secrets manager and are injected at runtime. They are never committed to GitHub, printed in GitHub Actions logs, baked into images or shared by chat or email. Secret scanning and push protection are enabled on all repositories in GitHub, and GitHub Actions masks secret values in logs.
  • 4.6 Rotation follows a defined schedule: key management root keys at least annually with automatic rotation where supported; broadly privileged service credentials and API tokens every 90 days; other application secrets at least every 12 months; and any key or secret immediately when compromise is suspected or when a person with direct access leaves or changes role.
  • 4.7 Access to key and secrets management follows least privilege under the Access Control Policy. Key administration is restricted to named Engineering roles and separated from key use by workloads; administrative access requires multi-factor authentication enforced through Okta, and key administration actions are logged and alerted under the Logging and Monitoring Policy.
  • 4.8 User passwords stored by Northwind are hashed with Argon2id, bcrypt or scrypt using a per-user salt and a work factor reviewed annually, and are never recoverable.
  • 4.9 All laptops and mobile devices used for company work have full-disk encryption enabled, enforced and reported through Kandji. Approved removable media is encrypted with AES-256.
  • 4.10 Payment information, where processed, is handled through a PCI DSS-validated processor using hosted fields, redirect or tokenization so that primary account numbers never enter Northwind.
  • 4.11 Data classified Confidential or Restricted under the Data Classification and Handling Policy is encrypted at rest and in transit without exception, including when exported, emailed, shared with vendors or backed up.
  • 4.12 TLS certificates are tracked in the certificate inventory, issued by a publicly trusted authority, renewed automatically with lifetimes of no more than 398 days, and have private keys generated on the terminating host or in the key management service.
  • 4.13 Exposure of a key, secret or certificate private key is a security incident under the Incident Response Policy: the material is revoked and rotated first, the exposure is then investigated, and data protected only by the exposed material is re-encrypted. Any new use of cryptography in Northwind is reviewed by the Security Owner before release.

5. Procedures

  • 5.1 Inventory. Engineering maintains an inventory of every key management key, secrets manager entry, SSH key, signing key and TLS certificate with owner, purpose, location, rotation schedule and last rotation. It is reviewed quarterly against live configuration on AWS and Vercel and in GitHub Actions; anything unrecorded is documented or removed.
  • 5.2 Provisioning. New keys are created through infrastructure-as-code in the native key management service of the platform that uses them, with a key policy naming the administering role and the consuming workload, automatic rotation where supported and deletion protection enabled.
  • 5.3 Rotation. Engineering keeps a rotation calendar derived from the inventory. Automatic rotation is preferred; manual rotation follows a written runbook that issues the new version, updates consumers, verifies function and retires the old version within 7 days. Each rotation is recorded in the inventory.
  • 5.4 CI/CD secrets. Secrets in GitHub Actions are stored in its encrypted store, scoped to the narrowest repository and environment, and never exposed to workflows triggered from untrusted forks or pull requests. Engineering reviews the list quarterly, removes unused entries and confirms log masking is active.
  • 5.5 Exposure response. When secret scanning, code review or any person reports a secret in source, logs or chat, the on-call engineer revokes and rotates it within four hours, as the Authentication and Password Policy requires, purges it from history where feasible, checks logs for use of the exposed value and records the event under the Incident Response Policy.
  • 5.6 TLS review. Each quarter Engineering scans every public Northwind endpoint with an external TLS analysis tool, confirms a grade-A-equivalent result, disables any weak cipher suites or protocol versions and records the results. Certificate expiry alerts fire at 30 and 7 days.
  • 5.7 Endpoint verification. Engineering reviews the monthly full-disk encryption compliance report from Kandji; non-compliant devices are remediated within 7 days or blocked from company systems.
  • 5.8 Offboarding rotation. When a person with direct access to any shared secret, key or certificate leaves or changes role, People Operations notifies Engineering on the last working day and Engineering rotates every secret the person could reach within one business day, removes their SSH keys and access tokens and records completion.
  • 5.9 Backup and vendor verification. Engineering confirms that backups in AWS Backup use a key separate from the primary data key and that restore tests decrypt successfully. Vendor reviews confirm each vendor encrypts Northwind Cloud Inc data in transit and at rest to this standard, with evidence recorded for Supabase, Stripe, Datadog and Slack.
  • 5.10 Cryptographic review. At the annual policy review the Security Owner compares the approved algorithm list with current NIST and industry guidance, flags anything approaching deprecation and records a migration plan due at least 12 months before the deprecation takes effect.

6. Exceptions

Deviations such as a legacy integration that cannot support TLS 1.2 require a written exception request describing the system, the risk, the compensating controls and the remediation date. The Security Owner approves or rejects it; exceptions affecting customer data also require Executive Management approval. Approved exceptions are recorded in the exception register, last no more than 12 months and are reviewed at each policy review.

7. Enforcement

Committing secrets to GitHub, disabling encryption on a device or data store, or sharing keys outside approved channels violates this policy and is handled under the Human Resources Security Policy, up to and including termination of employment; contractors and vendors are subject to contract termination. Any exposure of cryptographic material is reported immediately to security@northwindcloud.example and managed under the Incident Response Policy.

8. Review Cadence

The Security Owner reviews this policy on the annual review cycle and after any significant change to Northwind's architecture, cloud platforms, cryptographic libraries or applicable standards, and after any incident involving keys or secrets. Changes are approved by Priya Natarajan, CEO and recorded in the revision history.

9. Revision History

VersionDateDescriptionApproved by
1.02026-09-02Initial releasePriya Natarajan, CEO

Frequently asked questions

Who should own the Encryption and Key Management Policy?
In the Policyseed template the Engineering Lead owns the Encryption and Key Management Policy: they maintain the text, run the procedures in section 5 and hold the evidence those procedures produce. The approver you name in the intake signs it, and section 8 sets the review cadence you choose (annual, semi-annual or quarterly).
Which SOC 2 criteria does the Encryption and Key Management Policy address?
2 criteria in the Policyseed crosswalk: CC6.1 (Logical access security) and CC6.7 (Data in transit and on removable media). Each mapping points at a numbered section of this policy, and the Audit Kit exports the same mapping as an Excel crosswalk with an evidence checklist.
Is the Encryption and Key Management Policy template free to use?
Yes. The template is Apache-2.0 licensed and the generator renders it in your browser with your company, stack and owner names filled in; nothing is stored server-side. The Audit Kit ($39 one-time) rewrites sections 4 and 5 for your named tools with Claude and adds Word documents, the crosswalk spreadsheet, acknowledgment forms and a review calendar. Refunds are available within 14 days on request. Policyseed provides governance policy templates, not legal advice; the CPA firm performs the examination.

Policyseed provides governance policy templates and AI tailoring. It is not legal advice and not a compliance guarantee. Management adopts the policies; the CPA firm performs the SOC 2 examination.