Interface IElasticsearchKeyProvider
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Defines the contract for providers that store and retrieve Elasticsearch's own connection credentials -- OAuth tokens, service-account secrets, passwords, and API keys -- in a secure secret store.
public interface IElasticsearchKeyProvider : IElasticsearchKeyStorage, IElasticsearchKeyProviderEvents
- Inherited Members
Remarks
This interface composes the following focused sub-interfaces following the Interface Segregation Principle (ISP):
- IElasticsearchKeyStorage -- CRUD operations for secret storage and retrieval.
- IElasticsearchKeyProviderEvents -- events and secret listing for audit and monitoring.
Consumers that need only a subset of functionality should depend on the specific sub-interface instead of this aggregate interface.
This is a connection-credential store, not encryption-key custody: it returns opaque secret strings, never key material for cryptographic operations. Field-level encryption keys are resolved through IKeyManagementProvider and IEncryptionProviderRegistry instead, which structurally never expose key material to this package.