Table of Contents

Class KeyManagementOptions

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Configures key management system integration.

public sealed class KeyManagementOptions
Inheritance
KeyManagementOptions
Inherited Members

Properties

KeyRotationInterval

Gets the key rotation interval.

public TimeSpan KeyRotationInterval { get; init; }

Property Value

TimeSpan

The time interval between automatic key rotations. Defaults to 90 days.

Provider

Gets the key management provider type.

public KeyManagementProvider Provider { get; init; }

Property Value

KeyManagementProvider

The type of key management system to use.

Remarks

The provider is selected while services are being registered, from the Elasticsearch:Security:Encryption:KeyManagement:Provider configuration value, so it must be supplied through configuration. Assigning it in code after registration does not change which provider was composed.