Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› What are the key Encryption in Use best…
Cyber Security

What are the key Encryption in Use best practices?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 18, 2026 Domain: Cyber Security

Key Encryption in Use best practices are to minimise plaintext exposure, keep keys isolated from application memory where possible, and constrain which workloads can access protected data. Enforce attestation, patch the trusted execution or hardware layer, and monitor failures that fall back to unprotected processing. Test recovery paths carefully.

What makes encryption in use different from other encryption states?

Encryption in use protects data while it is being processed, so the hard part is not just algorithm choice but where computation happens and who can observe it. The practical goal is to reduce exposure during execution, limit access to decrypted material, and ensure the trusted boundary is actually enforced by hardware or a verifiable runtime.

That is why Confidential Computing Guide is the right starting point for many teams: encryption in use usually depends on a trusted execution environment, confidential VM, or similar isolated processing boundary. If that boundary is weak, the promise of in-use protection is mostly theoretical.

How to reduce plaintext exposure during processing

The most important best practice is to minimise the amount of plaintext that ever exists in application memory, logs, or shared runtime components. Decrypt only for the shortest possible time, keep decrypted data inside the narrowest possible process or enclave, and avoid designs that copy sensitive material across layers just to make implementation easier.

This is also where Encryption Guide helps frame the broader control objective: encryption in use is only one part of a larger data protection model that also includes key custody, envelope patterns, and deciding which data truly needs to be accessible in plaintext at all. If a workload does not need raw data, do not give it raw data.

Constrain which workloads can reach protected data, and prefer designs where keys stay outside application memory where possible. When that is not possible, treat the runtime as part of the trust boundary and assume any expansion of process privilege or debugging access can widen exposure.

What should be enforced around attestation, patching, and fallback paths?

Encryption in use depends on trust in the execution environment, so attestation is not optional window dressing. Verify that the workload, platform, and measured configuration are the ones you expect before releasing keys or sensitive data into the protected environment. If attestation fails, the safe default is to deny access rather than silently continue.

Keep the trusted execution or hardware layer patched, because the security of the whole design rests on the isolation boundary remaining sound. Cryptographic Key Management Guide is useful here because key handling, rotation, and recovery become much more operationally sensitive when the protection boundary is hardware-backed. Confidential Computing Guide also covers the attestation-and-release pattern that makes this model work in practice.

Monitor for failures that fall back to unprotected processing, because fallback mode can quietly remove the very control the architecture was built around. Recovery paths should be tested under realistic failure conditions so the team knows whether the system blocks, degrades safely, or exposes data when the protected path is unavailable.

Risk and Threat Considerations

Encryption in use creates a different risk profile from storage encryption: the main exposure is not passive data theft at rest, but compromise of the runtime boundary, keys, or fallback logic. If attestation, isolation, or patch hygiene fails, attackers may target the processing path itself to access plaintext or force the system into a weaker mode.

Failure mechanism: A workload with excessive privilege, weak attestation, stale platform software, or permissive fallback behaviour can expose decrypted data, release keys to the wrong runtime, or process sensitive data outside the protected boundary.

Impact: The consequence is usually plaintext exposure during execution, followed by broader compromise of the protected dataset, key material, or downstream systems that trusted the weakened workload.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and NIST SP 800-57 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-9 — Service Identification and AuthenticationEncryption in use depends on trusted workload-to-workload authentication before key release.
AC-6 — Least PrivilegeConfining which workloads can access plaintext is a least-privilege problem.
SI-2 — Flaw RemediationPatched trusted-execution and hardware layers are essential to maintain the protection boundary.
Recommendation — Enforce IA-9 so protected workloads authenticate before receiving access to decrypted material. Apply AC-6 to restrict decrypted-data access to the smallest necessary workload set. Use SI-2 to patch the trusted execution or hardware layer quickly when flaws are disclosed.
NIST SP 800-57Key ManagementThe topic depends on key isolation, release, rotation, and recovery discipline.
Recommendation — Manage encryption keys so release, rotation, and recovery remain tightly controlled.

Practitioner Guidance

What to verify: Confirm that the attestation decision is enforced before key release, and that failure cases do not silently switch to unprotected processing. Also verify that operators cannot bypass the protected path for convenience during incident response or troubleshooting.

What good looks like: The protected workload only receives the minimum data it needs, keys stay tightly controlled, and any boundary failure is visible, logged, and treated as a security event rather than a routine exception.

Practitioner takeaway: Encryption in use is only as strong as the execution boundary around it, so the real control objective is to make plaintext exposure rare, intentional, and failure-resistant.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org