External key management for Microsoft SQL Server Transparent Data Encryption
DuoKey SQL EKM (Extensible Key Management) is a comprehensive solution that enables Microsoft SQL Server to use external key management for Transparent Data Encryption (TDE). This integration provides enhanced security by storing encryption keys outside the database, giving organizations greater control over their data protection.
Full control over your encryption keys, stored in DuoKey's MPC-protected HSM
Keys stored separately from database infrastructure for defense-in-depth
Native SQL Server EKM support with transparent encryption/decryption
Meets GDPR, HIPAA, PCI-DSS, and other regulatory requirements
DuoKey SQL EKM provides a seamless bridge between SQL Server's native TDE capabilities and external key management through a cryptographic provider DLL.
| Component | Location | Description |
|---|---|---|
| DuoKey Cloud Platform | Cloud | Central key management service with MPC-protected HSM |
| DuoKey EKM Provider | SQL Server | Cryptographic provider DLL (DuoKeyCryptoProvider.dll) |
| SQL Server TDE | SQL Server | Native Transparent Data Encryption engine |
| Asymmetric Key | master database | RSA-2048 key protecting the DEK |
| Database Encryption Key | User database | AES-256 key encrypting data files |
SQL Server TDE with DuoKey EKM uses a multi-layer encryption hierarchy. Each layer protects the layer below it, with the Master Encryption Key (MEK) in DuoKey serving as the root of trust.
Master Encryption Key (MEK)
MPC ProtectedAsymmetric Key (EKM)
RSA-2048Database Encryption Key (DEK)
AES-256.mdf, .ndf, .ldf
Encrypted at RestEncrypt databases at rest without application changes.
Keys stored securely in DuoKey's cloud-based MPC HSM.
Seamlessly rotate encryption keys without downtime.
Deploy across multiple SQL Server instances.
Encrypted backups work across any configured server.
Comprehensive logging for all key operations.
Ready to implement SQL EKM? Follow these guides:
Set up DuoKey app
Install EKM provider
Configure SQL Server
Enable TDE