diff --git a/plugins/search-backend-module-elasticsearch/config.d.ts b/plugins/search-backend-module-elasticsearch/config.d.ts index 95e527b236..2428d44b84 100644 --- a/plugins/search-backend-module-elasticsearch/config.d.ts +++ b/plugins/search-backend-module-elasticsearch/config.d.ts @@ -138,6 +138,35 @@ export interface Config { bearer: string; };*/ } + /** + * AWS = In house hosting Open Search + */ + | { + provider: 'opensearch'; + /** + * Node configuration. + * URL/URLS to OpenSearch node to connect to. + * Either direct URL like 'https://localhost:9200' or with credentials like 'https://username:password@localhost:9200' + */ + node: string | string[]; + + /** + * Authentication credentials for OpenSearch + * If both ApiKey/Bearer token and username+password is provided, tokens take precedence + */ + auth?: + | { + username: string; + + /** + * @visibility secret + */ + password: string; + } + | { + apiKey: string; + }; + } ); }; };