Can any one let me know Wile using X-pack plugin with elasticsearch
1:How many roles can be created.Is there any limit to create roles?
2:Can a user have multiple roles?
3:How many users can be created.IS there any limit to create users?
I know that we can Assign multiple roles to single user... but just want confirm ...
How many roles can be created. Is there any limit to create roles?
There is a limit, because everything has a limit. Roles are either stored in files or in an index. The file will be limited by the amount of disk space you have and by the maximum allowed file size on your platform. The index will be limited by the disk space on your cluster and the maximum size of a lucene index.
It is unlikely that you will hit those limits, but it depends on your cluster setup.
There is a cache for role lookup that defaults to a limit of 10,000 roles. If you wish to use more roles than that, then you should consider increasing that limit (which will have an impact on memory usage).
Can a user have multiple roles?
Yes, from https://www.elastic.co/guide/en/x-pack/6.2/authorization.html
A user can be associated with an arbitrary number of roles
How many users can be created. Is there any limit to create users?
The answer to this is essentially the same as your first question. Although, if you are really trying to create a very large number of users, I would recommend you consider using an external identity source such as an LDAP directory, rather than trying to manage users directly in Elasticsearch.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.