Quick Answer
Most companies should let their HR vendor manage encryption keys, while using strong access controls and contractual safeguards. Customer-managed keys become worthwhile when regulated data, customer contracts, or an internal security team require direct control over decryption authority and key-use evidence.
Introduction
Data encryption protects employee records at rest only while the keys remain protected and governed. The decisive question is not whether a vendor says it encrypts salaries, SINs, or reviews, but who can authorize the key that decrypts them. For most companies with 10 to 100 employees, vendor-managed keys plus role-based access controls are proportionate to the risk. The complexity starts when procurement requirements demand proof of key custody rather than a general encryption statement.
Key Takeaways
Key custody determines who can technically decrypt encrypted employee data.
BYOK increases key ownership but does not automatically block vendor service access.
HYOK provides stronger separation but creates significant operational recovery responsibility.

Why Data Encryption Key Custody Matters
Data encryption at rest converts readable employee information into ciphertext, but the encryption key is what makes that information readable again. If a vendor’s service can request or use the key, the vendor retains a technical path to decrypt data under its governed processes. That distinction matters during security reviews, incident response, litigation holds, and an eventual platform exit.
What the Key Holder Can Control
Key custody is a governance decision, not merely an encryption technology setting. The party controlling the key can define when it is usable, which identities may invoke it, and whether revocation can interrupt access to encrypted records.
Key generation: Determines who creates the root cryptographic material.
Key policy: Defines identities and services allowed to use it.
Rotation: Replaces key material under a documented schedule, typically annually for key-encryption keys and on a shorter cycle for secrets, with the exact cadence set by regulatory requirements and the organization’s risk tolerance.
Audit trail: Records key-use requests and administrative changes.
Revocation: Can prevent future decryption requests.
Encryption Is Not the Entire Control Plane
Database encryption does not solve excessive administrator access, weak identity controls, copied exports, or unmonitored backups. A carefully protected production database can still be exposed by a neglected snapshot, including one held for two years under a permissive policy. This pattern illustrates why encryption alone cannot compensate for weak account hygiene. Encryption should therefore sit beside access reviews, logging, retention controls, and tested incident procedures.
Data Encryption Models for HR Software
Provider-managed, customer-managed, BYOK, and HYOK models differ primarily in where key material lives and who sets the authorization policy. The labels are often used loosely, so procurement teams should ask vendors to describe the exact key path rather than relying on a feature name.
Four Key Custody Models in Plain Language
Provider-managed keys are created and operated by the HR vendor or its cloud environment. Customer-managed keys are created in a key service controlled by the customer, while the vendor service is granted defined permissions to use them. This differs from HYOK, where the key stays outside the provider’s environment, as key responsibility models explains.[1]
Model | Where key lives | Customer control | Important limit |
|---|---|---|---|
Provider-managed | Vendor or vendor cloud environment | Usually limited to account and access settings | Vendor governs key lifecycle |
Customer-managed | Customer-controlled key service | Policy, logs, rotation, and revocation | Vendor service may still use the key |
BYOK | Provider key service using imported material | Ownership of imported key material | Import does not remove provider access paths |
HYOK | Outside the provider environment | External authorization and availability control | Customer owns recovery and service dependencies |
BYOK is not equivalent to exclusive customer control: imported material may still be used by the vendor’s service when the customer policy permits it. HYOK can create stronger separation, but it also means encrypted records may become unavailable if the external key system fails or access is revoked unintentionally. It is best suited to multi-cloud or SaaS environments that need a single central KMS for providers to use, according to the Cloud Security Alliance.
What Customer Control Actually Buys
Customer-managed keys provide a clear policy boundary: the customer can authorize use, inspect key-use logs, rotate material, and disable future decryption. NIST’s key management guidance frames these lifecycle decisions as part of operating cryptographic systems, not as a one-time implementation task.[2] This control can make an audit conversation more concrete, but it does not replace secure application design or identity governance.

When Vendor-Managed Keys Are Enough
Vendor-managed keys are usually sufficient for teams of 10 to 100 employees when the vendor documents encryption, tenant separation, access controls, logging, and incident handling. Smaller teams often gain more risk reduction by enforcing multifactor authentication, limiting HR administrator roles, and reviewing exports than by operating their own key infrastructure. A practical guide to HR software should treat security operations as part of implementation, not an advanced feature reserved for large enterprises.
Costs and Risks of More Control
Customer-held keys add ownership of recovery procedures, permission design, availability monitoring, and separation of duties. If a key is deleted, disabled, or made inaccessible without a tested recovery path, the customer can make its own employee records unreadable. Externally held keys may also limit integrations or create service interruptions when authorization cannot be completed.
When to Ask for Customer-Managed Keys
Ask for customer-managed keys when a contract requires customer control, an auditor must identify the key holder, or the organization has regulated data and a dedicated security function. Large employers can often absorb the operating burden because they already manage identity, logging, and incident response across multiple systems. Customer control is not automatically stronger enterprise data security if the organization cannot sustain those controls.
How to Evaluate an HR Vendor’s Encryption Claims
Use procurement questions that expose operational details, not marketing labels. A vendor should be able to explain whether each customer has separate keying material, how privileged access is approved, how backup data is protected, and what happens to encrypted information when the contract ends.
Questions to Put in the Security Review
Ask who generates and holds the keys, whether customers can set a key policy, how rotation occurs, and whether key-use logs are available. Ask whether the vendor’s support staff can trigger decryption, how keys are separated between customers, and what the incident process requires when unauthorized access is suspected. Add these questions to an HR compliance checklist, alongside evidence requests for access controls and audit reports.
Canadian Privacy Context
For Canadian employers, encryption is one safeguard within a broader privacy program. PIPEDA requires safeguards appropriate to the sensitivity of personal information, while Quebec’s Law 25 raises the practical importance of privacy governance for organizations handling Quebec employee data. Review Canadian HR compliance requirements with qualified counsel or privacy professionals because this article is not legal advice.
For teams organizing core HR operations around PIPEDA-compliant data hosting, KollabHR is HR software for teams of 10 to 100 with employee records, leave, onboarding, and role-based permissions.[3] Guidance on keeping employee records organized is relevant when moving sensitive records out of informal workflows.

Conclusion
Choose vendor-managed keys when your organization is small or mid-sized, your vendor’s default controls are documented, and your team lacks the capacity to operate key management safely. For a broader comparison of systems and deployment tradeoffs, review this guide to HR software architecture. Move toward customer-managed keys when contractual, audit, or regulatory requirements demand direct authority over decryption. Treat BYOK as a key-material ownership model, not proof that a vendor cannot use the key. This guidance can help technical teams analyze security architecture decisions without turning every control into a procurement requirement.
For a clearer framework for production security decisions, explore NinjaStudio.ai for technical analysis grounded in real implementation tradeoffs.
Frequently Asked Questions (FAQs)
Is database encryption enough to protect AI agent data?
Database encryption is not enough to protect AI agent data because access tokens, prompts, backups, logs, and privileged identities can expose information outside the encrypted database layer.
What is the difference between encryption and anonymization for AI?
Encryption keeps data recoverable with an authorized key, while anonymization aims to remove or alter identifying information so people cannot reasonably be identified from the dataset.
How does encryption impact MLOps compliance?
Encryption supports MLOps compliance by reducing exposure of training data and artifacts at rest, but compliance also depends on access governance, retention, monitoring, and documented operational controls.
What are the pros and cons of hardware security modules for AI?
Hardware security modules can isolate cryptographic operations and strengthen key protection, but they add integration, availability, recovery, and administrative responsibilities that must fit the organization’s operating capacity.
Why should AI engineers care about data-at-rest encryption?
AI engineers should care about data-at-rest encryption because models, evaluation datasets, logs, and employee records may persist sensitive information beyond the runtime systems where access controls are usually concentrated.
Sources
- Choosing a Cloud Key Management Model | CSA (cloudsecurityalliance.org) ↩
- Key Management (csrc.nist.gov) ↩
- PIPEDA Compliance and Canadian Data Hosting for HR Teams (kollabhr.com) ↩

