Extension point for providing custom authentication to the Elasticsearch search engine.
Remarks
Use this extension point to provide dynamic authentication mechanisms such as
bearer tokens with automatic rotation. When an auth provider is set, it takes
precedence over any static authentication configured in app-config.yaml.
This method can only be called once. Subsequent calls will throw an error.
The auth provider takes precedence over static authentication configuration.
Extension point for providing custom authentication to the Elasticsearch search engine.
Remarks
Use this extension point to provide dynamic authentication mechanisms such as bearer tokens with automatic rotation. When an auth provider is set, it takes precedence over any static authentication configured in app-config.yaml.
Example