chore(server): support elasticsearch apiKey (#12405)

This commit is contained in:
fengmk2 committed 2025-05-21 08:35:51 +00:00
1 parent ff15779208
commit abfc994180
12 files changed
+36 -29

No files matched your search

+6
View File
@@ -279,6 +279,12 @@
"desc": "Indexer search service endpoint",
"env": "AFFINE_INDEXER_SEARCH_ENDPOINT"
},
"provider.apiKey": {
"type": "String",
"desc": "Indexer search service api key. Optional for elasticsearch",
"link": "https://www.elastic.co/guide/server/current/api-key.html",
"env": "AFFINE_INDEXER_SEARCH_API_KEY"
},
"provider.username": {
"type": "String",
"desc": "Indexer search service auth username, if not set, basic auth will be disabled. Optional for elasticsearch",