Class MultiRegionOptions
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Configuration options for multi-region key management.
public sealed class MultiRegionOptions
- Inheritance
-
MultiRegionOptions
- Inherited Members
Remarks
Multi-region configuration uses active-passive architecture with automatic failover and manual failback.
RPO/RTO Targets:
- RPO (Recovery Point Objective): 15 minutes default
- RTO (Recovery Time Objective): 5 minutes default
Properties
EnableAuditEvents
Gets or sets a value indicating whether to emit audit events.
public bool EnableAuditEvents { get; set; }
Property Value
- bool
Defaults to
true.
EnableMetrics
Gets or sets a value indicating whether to emit OpenTelemetry metrics.
public bool EnableMetrics { get; set; }
Property Value
- bool
Defaults to
true.
Failover
Gets or sets health check and failover configuration.
public MultiRegionFailoverOptions Failover { get; set; }
Property Value
- MultiRegionFailoverOptions
The failover sub-options.
OperationTimeout
Gets or sets the timeout for individual region operations.
public TimeSpan OperationTimeout { get; set; }
Property Value
- TimeSpan
Defaults to 10 seconds.
Primary
Gets or sets the primary region configuration.
[Required]
public required RegionConfiguration Primary { get; set; }
Property Value
ReplicationMode
Gets or sets the replication mode between regions.
public ReplicationMode ReplicationMode { get; set; }
Property Value
- ReplicationMode
Defaults to Asynchronous.
RpoTarget
Gets or sets the target RPO (Recovery Point Objective).
public TimeSpan RpoTarget { get; set; }
Property Value
- TimeSpan
Defaults to 15 minutes.
RtoTarget
Gets or sets the target RTO (Recovery Time Objective).
public TimeSpan RtoTarget { get; set; }
Property Value
- TimeSpan
Defaults to 5 minutes.
Secondary
Gets or sets the secondary region configuration.
[Required]
public required RegionConfiguration Secondary { get; set; }