mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
chore(server): support elasticsearch apiKey (#12405)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user