Table of Contents

Interface IMasterKeyBackupService

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Provides master key backup and recovery operations for disaster recovery scenarios.

public interface IMasterKeyBackupService : IMasterKeyBackupExporter, IMasterKeyRestoreService
Inherited Members

Remarks

This service handles the secure backup and restoration of master encryption keys, which are the keys used to encrypt all other keys in the system (Key Encryption Keys - KEKs).

Features include:

  • HSM-backed export and import of master keys
  • Shamir's Secret Sharing for split-knowledge recovery (e.g., 3-of-5 custodians)
  • Full audit logging of all backup and recovery operations
  • Support for multiple backup formats (encrypted blob, HSM-wrapped, etc.)

WARNING: Master key operations are highly sensitive. All operations MUST be audited and require appropriate authorization (typically multi-party approval).

This is a composite of the focused IMasterKeyBackupExporter (export and recovery-split generation) and IMasterKeyRestoreService (import, reconstruction, verification, and status inspection) contracts. New code should depend on the narrowest interface that meets its needs.