Похожие чаты

Друзья, На Debian 12 x64 я устанавил Elasticsearch 7.17. У меня будет

всего одна нода.
К этой ноде буду подключаться c другого сервера при помощи Java API Client.

В документации Elasticsearch Java API Client сказано что можно авторизовываться при помощи API-токена или же при помощи user and pass.

Вы могли бы мне подсказать, как создать токен или же пользователей?

Нужно сделать так, чтобы Elasticsearch висел на внешнем ИП, но был недоступен без авторизации. Чтобы ни кто нагадить не мог.

2 ответов

15 просмотров

https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-api-create-service-token.html https://www.elastic.co/guide/en/elasticsearch/reference/7.17/token-authentication-services.html Открывать эластик на весь интернет — очень плохая затея, используйте vpn для организации доступа, либо закрывайте каким-нибудь oauth2-proxy.

German-Zvonchuk Автор вопроса
Артём
https://www.elastic.co/guide/en/elasticsearch/refe...

По описанию сервисные аккаунты мне не подходят. Мне подходит вроде Token-based authentication на базе api-key-service.

Похожие вопросы

Обсуждают сегодня

I love the passion, really do. I do think this is being blown way out of proportion. We are not deleting our Telegram or not allowing you to talk about anything you want, a...
Mike Herron
3
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Did you guys see the latest tweet from TonGifts? 🚀
Mike
44
Hey guys, did you see the latest announcement about $FUN? 🔥
Brian
21
Did kadena deliver anything on time?
Femboi Uwu
22
Hey guys Long term LINK holder here (All in for the past 5 years). I actually tried not to pay too much attention anymore and just let my thesis play out. But seeing that fili...
Koala Chud
9
My thoughts on it: LLC growth might be signed contracts and partnerships with business companies and cash flow on LLC bank accounts. Not bad for CMO, CEO, and all the manage...
Katu
2
Whats the deadline to convert noia into synt on erc20?
✙ Alex ✙ ✤ ∞
17
Хотел бы спросить у знающих, правильную ли я выбрал книгу для начала изучения ассемблера Юрова В.И ? Или есть более лучшие книги для начала обучения?
Botsman
31
Why is nobody talking about this? http://wintermute.com/wintermute-expands-its-cfd-offering-with-a-unique-multi-currency-collateral-support-for-capital-efficient-trading?utm_...
Tim
11
Карта сайта