Table of Contents

Class ElasticSearchProjectionAuthOptions

Namespace
Excalibur.Data.ElasticSearch.Projections
Assembly
Excalibur.Data.ElasticSearch.dll

Authentication configuration options for the ElasticSearch projection store.

public sealed class ElasticSearchProjectionAuthOptions
Inheritance
ElasticSearchProjectionAuthOptions
Inherited Members

Remarks

This sub-options class is part of the ElasticSearchProjectionStoreOptions ISP split to keep each class within the 10-property gate. Supports basic authentication (username/password) and API key authentication.

Properties

ApiKey

Gets or sets the API key for API key authentication.

public string? ApiKey { get; set; }

Property Value

string

Defaults to null (no API key authentication).

Password

Gets or sets the password for basic authentication.

public string? Password { get; set; }

Property Value

string

Defaults to null (no authentication).

Username

Gets or sets the username for basic authentication.

public string? Username { get; set; }

Property Value

string

Defaults to null (no authentication).