Hi I've configured the next users with roles and added them to elastic:
/etc/elasticsearch/roles.yml
readonly_role:
cluster:
- monitor
indices:
- names: '*'
privileges:
- read
- view_index_metadata
- monitor
run_as:
- ''
cat /etc/elasticsearch/users
test_user:$2a$10$O/PbKqD0ODTSBXrDaP8weuYrF9KynDESh2mWPtyuNLrQOkBznuR5W
cat /etc/elasticsearch/users_roles
kibana_system:test_user
but when I do
curl localhost:9200/
It allows without password.
I added into config:
xpack:
security:
authc:
realms:
file:
file1:
order: 0
What can be wrong? According to license info basic support native and file authentication.
Could somebody please help?