What is Double Key Encryption (DKE)?
Double Key Encryption (DKE) lets us protect highly confidential data to meet specialised requirements. DKE lets us keep control of the encryption keys.
It uses two keys to protect our data: one key under our control and a second key that is stored securely in Microsoft Azure.
By keeping control of one of the keys through the Double Key Encryption service, viewing data protected with double key encryption requires access to both keys.
DKE helps us meet regulatory requirements in several regulations and standards, such as the General Data Protection Regulation (GDPR), the Health Insurance Portability and Accountability Act (HIPAA), the Gramm-Leach-Bliley Act (GLBA), the Russian Data Localisation Law – Federal Law No. 242-FZ, the Australian Privacy Act 1988 and the New Zealand Privacy Act 1993.
After setting up the DKE service and the keys, we must apply protection to highly confidential content using sensitivity labels.
DKE supports several different configurations, including on-premises and cloud deployments.
These deployments help us make sure that encrypted data stays opaque wherever we store it.
We can host the Double Key Encryption service used to request the key in a location of our choice (on-premises or cloud key management server).
The service is maintained as you would any other application. Double key encryption lets us control access to the Double Key Encryption service.
We can store highly confidential data on-premises or move it to the cloud. Double key encryption gives us the control to store the data and the key in the same geographical location.
When we should adopt DKE
DKE is not for every organisation or for every piece of data. Suppose a typical organisational data estate has the following structure:
- Non-sensitive data (roughly 80% of data): most of an organisation’s data falls into this category. There are no issues or problems with moving this data to the cloud today. Moving this data to the cloud can be beneficial, and the organisation can use the security built into the cloud.
- Confidential (around 15% of data): confidential data must be protected. As organisations, we expect our cloud service provider to give us security while also improving productivity for this category of data so that we can meet compliance regulations. We must make sure this data is labelled correctly with Microsoft Purview Information Protection and that it is protected with access control, retention and auditing policies.
- Highly confidential (around 5% of data): this set is our organisation’s crown jewel and must be heavily protected. We don’t want anyone to have access to this data. This category of data may also have regulatory requirements to hold the keys in the same geographical region as the data. The keys may also need to be under the organisation’s strict custody. This content has the organisation’s highest classification (our Top Secret) and access is restricted to a few people. Highly confidential data is what malicious users go after. Losing this data can damage our reputation as an organisation and break the trust of our customers.
As we have said, double key encryption is designed for the most confidential data that is subject to the strictest protection requirements.
We must carry out due diligence in identifying the right data to cover with this solution before deployment.
In some cases, we may have to narrow the scope and use other solutions. For example, for most data, we can consider Microsoft Purview Information Protection with Microsoft-managed keys.
These solutions are enough for documents that are not subject to enhanced protections and regulatory requirements.
In addition, these solutions let you use the most powerful Microsoft 365 services; services that cannot be used with DKE-encrypted content. For example:
- Mail flow rules, including anti-malware and spam filtering that require visibility of attachments
- Microsoft Delve
- eDiscovery
- Content search and indexing
Office Web Apps, including co-authoring functionality - Copilot
DKE-encrypted data is not accessible at rest to Microsoft 365 services, including Copilot.
While we use DKE-encrypted data in Office, Copilot still has no access to the data and we cannot use Copilot in the apps while using DKE-encrypted data.
External applications or services that are not integrated with DKE through the Microsoft Information Protection SDK cannot perform actions on the encrypted data.
Microsoft Information Protection SDK 1.7+ supports double key encryption. Applications that integrate with our SDK can reason over this data with sufficient permissions and integrations.
When DKE-encrypted data is in use in an Office application, other Microsoft 365 services may be able to access it, depending on the Office version:
- In the most recent versions of Office, DKE-encrypted data in use is also not accessible to Microsoft 365 services. Since this change was rolled out at the same time as the separate privacy control for sensitivity labels that prevents labelled content from being sent to connected experiences for analysis, you can identify the minimum Office versions using the capabilities table.
- In earlier versions of Office, DKE-encrypted data in use is accessible to Microsoft 365 services unless you use a policy setting to turn off the connected experiences that analyse content.
We will use Microsoft Purview Information Protection capabilities (classification and labelling) to protect most of our confidential data and only use DKE for critical data.
Double key encryption is relevant for confidential data in highly regulated sectors, such as financial services and healthcare.
If organisations have any of the following requirements, they can use DKE to protect content:
- Regulatory requirements to hold keys within a geographical boundary.
- All the keys used for encrypting and decrypting data are held in the datacentre.
DKE encryption workflow
Start

The Microsoft Office client performs start-up configuration tasks and sends requests and information to the Azure Information Protection service.
This process is also called bootstrapping. The tasks include authorising the user through Microsoft Entra ID, downloading certificates and templates, and so on. The bootstrapping tasks are first-time start-up and connection tasks that give the user access to the Azure Rights Management encryption policies.
Retrieving and caching the Azure Rights Management public key

The Office application retrieves the public key from the Azure Key Vault in the information protection service, based on the authorised user using Microsoft Entra ID.
Once retrieved, the client caches the key for 30 days by default. Once cached, the client does not have to bootstrap against the Azure Rights Management service again until the key expires. As an administrator, you can configure a different caching period for Azure Rights Management. You must set a cache period for this key or accept the default of 30 days.
Without a cache period, offline publishing does not work.
Requesting the DKE public key

The Office client requests the other public key from the Double Key Encryption service, based on the authorised user using Microsoft Entra ID.
Retrieving and caching the DKE key
![]()
The Double Key Encryption service sends this public key to the Office client. The client caches the key on the device for as long as you have configured. Unlike the Azure key
- You don’t need to configure a cache period for the key hosted by the Double Key Encryption service.
- If we want to configure a cache period, we can do so when deploying the Double Key Encryption service or after deploying it
Protecting the document with the DKE key

The Microsoft Office client encrypts the part of the metadata that controls access to the content using the public key that was retrieved from the Double Key Encryption service.
Protecting the document with the Azure key

The Microsoft Office client encrypts the already encrypted part of the document metadata with the Azure public key.
The data is now protected with both keys.
Double Key Encryption (DKE) is an advanced security solution designed to protect the most confidential data in our organisation.
To wrap this up with some punch, we could stress the following key points:
Unprecedented power and control
DKE gives organisations an unprecedented level of control over their most sensitive data.
By using two encryption keys, one controlled by our organisation and the other by Microsoft Azure, DKE guarantees that only those with access to both keys can view the protected content.
Rigorous regulatory compliance
This technology is essential for complying with strict regulations in various sectors, such as GDPR, HIPAA, and other international privacy laws. DKE lets us keep geographical control of our keys, meeting specific data localisation requirements.
Protecting the “crown jewel”
DKE is designed specifically for the most critical 5% of an organisation’s data, the data classified as highly confidential or Top Secret. This additional layer of security protects against internal and external threats, safeguarding our reputation and the trust of our customers.
Balancing security and functionality
Although DKE limits certain Microsoft 365 functionality, it offers a balanced solution for our most sensitive data.
We can implement DKE strategically, using other Microsoft Purview solutions for most of our confidential data.
The future of data protection
Within our ecosystem, where cyber threats keep evolving, DKE represents the cutting edge in data protection.
By adopting this technology, we not only protect our most valuable information today, but we also prepare for the security challenges of tomorrow.
See you on the socials!!