Class RegionConfiguration
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Configuration for a single region in multi-region key management.
public sealed class RegionConfiguration
- Inheritance
-
RegionConfiguration
- Inherited Members
Properties
DisplayName
Gets or sets the display name for the region.
public string? DisplayName { get; set; }
Property Value
Enabled
Gets or sets a value indicating whether this region is enabled.
public bool Enabled { get; set; }
Property Value
- bool
Defaults to
true.
Endpoint
Gets or sets the endpoint URI for the key management service in this region.
[Required]
public required Uri Endpoint { get; set; }
Property Value
MaxAcceptableLatency
Gets or sets the maximum acceptable latency for this region.
public TimeSpan MaxAcceptableLatency { get; set; }
Property Value
- TimeSpan
Defaults to 500ms.
Priority
Gets or sets the priority for this region (lower = higher priority).
[Range(0, 2147483647)]
public int Priority { get; set; }
Property Value
- int
Defaults to 0 for primary, 1 for secondary.
ProviderConfiguration
Gets or sets provider-specific configuration.
public IReadOnlyDictionary<string, string>? ProviderConfiguration { get; set; }
Property Value
RegionId
Gets or sets the region identifier.
[Required]
public required string RegionId { get; set; }