Table of Contents

Class MasterKeyExportOptions

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

Options for exporting a master key backup.

public sealed class MasterKeyExportOptions
Inheritance
MasterKeyExportOptions
Inherited Members

Properties

ExpiresIn

Gets or sets when the backup should expire. If null, the backup does not expire (not recommended for production).

public TimeSpan? ExpiresIn { get; set; }

Property Value

TimeSpan?

Metadata

Gets or sets optional metadata to include with the backup.

public Dictionary<string, string>? Metadata { get; set; }

Property Value

Dictionary<string, string>

Reason

Gets or sets the reason for creating this backup (for audit purposes).

public string? Reason { get; set; }

Property Value

string

WrappingAlgorithm

Gets or sets the algorithm to use for wrapping the backup. Defaults to AES-256-GCM.

public EncryptionAlgorithm WrappingAlgorithm { get; set; }

Property Value

EncryptionAlgorithm

WrappingKeyId

Gets or sets the identifier of the key to use for wrapping the backup. If null, the system default backup encryption key is used.

public string? WrappingKeyId { get; set; }

Property Value

string