Kibana privileges by file

Hi, this is my scenario:
I have a 2 nodes elastic cluster and kibana managed by kubernetes.
I've successfully created users and roles for elasticsearch using roles.yml file.

But I cannot find a way to manage kibana privileges by file and looking in docs they doesn't refer to them in roles file. Is it possible?
Because I want to have some written configuration that will be the same for different environments and I cannot find the right way.

Hi @samsalvatico,

I am not aware of a roles.yml file for Kibana, but you can use the Kibana API to achieve this.

https://www.elastic.co/guide/en/kibana/current/role-management-api.html

Thanks,
Liza

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.