DuoKey
Ressourcen
Artikel
  • Microsoft 365Double Key Encryption

What Is Double Key Encryption (DKE)? Microsoft 365 Explained

Double Key Encryption (DKE) protects labelled Microsoft 365 content with two keys, so Microsoft cannot open it alone. How it works, limits and licensing.

Nagib Aouini··8 Min. Lesezeit

Double Key Encryption (DKE) is a Microsoft Purview protection mode for the most sensitive files and mail in Microsoft 365. Microsoft describes it directly: DKE "uses two keys to protect data; one key in your control and a second key you store securely in Microsoft Azure," and viewing the protected data "requires access to both keys." (Microsoft Learn: Double Key Encryption)

That is the whole idea. Default Microsoft 365 encryption uses keys Microsoft operates. Customer Key lets you supply root keys, and Microsoft 365 services still decrypt content in normal operation. DKE is the mode where your key stays outside Microsoft, and Microsoft's key alone is not enough.

This page is the definition. The other DuoKey pages on DKE each answer one question:

QuestionPage
How do I deploy DKE with DuoKey?Microsoft 365 Double Key Encryption setup guide
DKE or Customer Key?DKE vs Microsoft 365 Customer Key
Which DKE providers exist?Microsoft 365 DKE providers compared
How do I choose one?How to evaluate a DKE provider: 6 criteria

Table of Contents

  1. The two keys
  2. What DKE covers, and what it does not
  3. DKE requirements
  4. How DuoKey holds the external key
  5. DKE, Customer Key, and default encryption
  6. DKE, BYOK and HYOK
  7. When a programme actually needs DKE
  8. FAQ

The two keys

A sensitivity label in Microsoft Purview is what turns DKE on for a document or message. When someone applies that label in Word, Excel, PowerPoint, Outlook or Adobe Acrobat, the Office client protects the content twice:

  1. With your key, fetched from the DKE service you operate or mandate. With DuoKey, that key stays in the DuoKey vault and the client reaches it through your DKE endpoint.
  2. With Microsoft's Azure Rights Management key.

Opening the file needs both. Azure RMS checks the user's rights. The external DKE service checks the user's identity before it unwraps your key. Microsoft never holds that second key. (Microsoft Learn: Double Key Encryption, DuoKey DKE docs)

Microsoft 365 Double Key Encryption: Azure RMS key plus the customer key held outside Microsoft

Both keys are required. Microsoft holds one in Azure RMS. The other stays in the customer key service.

Microsoft's own sample is a .NET key store you compile and host. That works as a lab. In production the host, the certificate, the availability and the access list become yours to run. DuoKey replaces that sample with a DKE endpoint deployed from DuoKey Cockpit and a key held in an MPC vault, split so no single node holds the whole key. (DuoKey: Getting started with DKE)


What DKE covers, and what it does not

Microsoft positions DKE for a small slice of content, about 5% in its own illustration, applied through sensitivity labels. (Microsoft Learn: Double Key Encryption)

Because Microsoft cannot read the content, several Microsoft 365 features stop working on DKE-protected items:

  • eDiscovery, content search and indexing
  • Mail flow rules that inspect attachments, including anti-malware and spam scanning of those attachments
  • Office on the web and co-authoring
  • Microsoft 365 Copilot on that content
  • DKE labels cannot protect Teams meetings, chat or calendar items

DKE-protected files can still be stored in SharePoint and OneDrive and sent by email. They are opened in the desktop apps, not online. In Outlook, the Encrypt Only and Do Not Forward options are not supported with DKE.

That list is the reason DKE is a label for M&A files, legal privilege, regulated personal data and trade secrets, and everyday collaboration stays on ordinary Purview labels. (Hold Your Own Key guide)


DKE requirements

Microsoft lists these prerequisites. (Microsoft Learn: System and licensing requirements for DKE, Microsoft Purview service description)

RequirementDetail
LicensingMicrosoft 365 E5, A5 or G5, EMS E5, Microsoft Purview Suite and the E5 Information Protection and Governance add-ons, among others listed in the service description
Encryption serviceAzure Rights Management from Microsoft Purview Information Protection
LabelsSensitivity labels built into Office apps, with "Use Double Key Encryption" and the URL of your key
ClientsMicrosoft 365 Apps for enterprise on Windows. Outside Office: the Purview file labeler, PowerShell, the scanner and the Purview Information Protection Viewer
Key serviceA DKE service reachable over HTTPS and registered in Microsoft Entra ID. Microsoft provides a reference implementation; providers such as DuoKey run it for you
ConnectivityDKE needs access to Microsoft Azure, so it does not run in an air-gapped environment

How DuoKey holds the external key

DuoKey is the external half of DKE:

PieceWhere it lives
Microsoft's keyAzure Rights Management
Your DKE keyDuoKey vault. The key is split across MPC nodes, so it is never whole on one machine
DKE endpointDeployed from a Cockpit wizard. No IIS host to build
Who may unwrapA Zero Trust policy in Cockpit: user, group, location, IP, time
AuditGetKey and Decrypt events logged per service
Where it runsSwiss-operated DuoKey, or Cockpit on-premises or on OpenShift

The label stores the URL of your key. Rotating the key in Cockpit keeps that URL, so published labels do not have to be rebuilt. The step-by-step is the Microsoft 365 Double Key Encryption setup guide. Criteria for choosing a provider are in How to evaluate a DKE provider.


DKE, Customer Key, and default encryption

Default Microsoft 365 encryptionCustomer KeyDouble Key Encryption
Who holds the keysMicrosoftRoot keys you supply, plus an availability key Microsoft protectsYour key and Microsoft's key, both required
Microsoft 365 services can read content in normal operationYesYes. You authorise that use for search, eDiscovery, anti-malware and anti-spamNo. Your key never enters Microsoft
How it is appliedService-wideData encryption policies for Exchange, SharePoint, OneDrive, Teams, Windows 365 Cloud PCsSensitivity label on selected items
Day-to-day featuresUnchangedUnchangedSearch, web co-authoring and Copilot stop on protected items

Customer Key is service encryption with a customer-held root. DKE is per-item encryption with an external key. Many programmes use both: Customer Key across the tenant, DKE on the labels that must stay unreadable to Microsoft. The full decision is DKE vs Microsoft 365 Customer Key. The Customer Key model itself is explained in Microsoft Purview Customer Key.


DKE, BYOK and HYOK

In cloud key management, BYOK (bring your own key) means you supply a key and the provider's service uses it. Hold your own key (HYOK) means the key stays with you and the provider cannot decrypt without your key service. In those terms, Customer Key is BYOK and DKE is the Microsoft 365 implementation of HYOK. (BYOK vs HYOK)

One naming trap: Microsoft also used "HYOK" for an older Azure Information Protection feature. Microsoft's DKE FAQ explains the difference: that HYOK protects content with only one key, always kept on premises, while DKE uses two keys and lets the encrypted content move to the cloud. Microsoft recommends running DKE in parallel and documents a migration from HYOK labels to DKE labels with the scanner. (Microsoft Learn: DKE FAQ)


When a programme actually needs DKE

DKE fits when a supervisor, a public-sector rule or the board requires that Microsoft cannot decrypt a named class of content on its own. Swiss public-sector guidance is one case already written up: standard Microsoft 365 deployments can be insufficient where the provider can technically reach the decryption keys, and an architecture that keeps a decisive key outside the provider is the relevant control. (Microsoft 365 for Swiss public administration)

DKE is the wrong tool when the requirement is "encrypt the tenant and keep search, eDiscovery and Copilot." That requirement is Customer Key, or default encryption, depending on who must hold the root.


FAQ

What is double key encryption?

Microsoft Purview Double Key Encryption protects selected Microsoft 365 content with two keys. One stays in your DKE service. One stays in Microsoft Azure. Opening the content requires both, so Microsoft cannot read it alone. You turn it on with a sensitivity label that points at your key URL. (Microsoft Learn)

Is double key encryption the same as Customer Key?

No. Customer Key is service encryption under root keys you supply. Microsoft 365 still decrypts content for services you authorise, and each data encryption policy includes an availability key Microsoft protects. DKE keeps your key outside Microsoft, and Microsoft cannot read the protected item alone. (Customer Key overview)

Does DKE work in Outlook, SharePoint and OneDrive?

Desktop Outlook, Word, Excel and PowerPoint on Windows can apply and open DKE labels. Protected files can be stored in SharePoint and OneDrive, but Office on the web, co-authoring, search and Copilot do not work on them. Teams meetings, chat and calendar items cannot be protected with a DKE label.

Can I share DKE-protected documents with another organisation?

Yes, if the external users have permission to use your key in your DKE service and permission to the key in Microsoft Azure. (Microsoft Learn: DKE FAQ)

Which licences include Double Key Encryption?

Microsoft lists Microsoft 365 E5, A5 and G5, EMS E5, Microsoft Purview Suite and the E5 Information Protection and Governance add-ons, among others. Check the Microsoft Purview service description for your plan.

Where do I start with DuoKey?

Create the key and deploy the DKE service from DuoKey Cockpit, grant admin consent, then publish the Purview label. The sequence is the setup guide. Product detail is on DuoKey for Microsoft 365.

Teilen

Geschrieben von

Nagib Aouini

Sprechen Sie über die Entscheidungen, die für Ihr Sicherheitsprogramm zählen.

Sagen Sie uns, wo Kontrolle heute schwierig ist. Wir helfen Ihnen, den nächsten praktischen Schritt zu finden.