Whether users created in Kibana and x-pack are different?

Hello there,

Can you update me whether the users created in x-pack using ./user is different from users created in Kibana UI is different?

And, how do I assign customized roles to the local users, which were created?

I have added this in elasticsearh.yml,

xpack:
  security:
    authc:
      realms:
        file1:
          type: file
          order: 0

For example, I have an user called test with the password test123, how do I set a customized role to run some indices?

P.S: I don't want this to be done via Kibana UI, but through configuration files. When I say customized roles, I don't want to be monitoring_user, or kibana user.

Users created by the ./user command are part of the file realm: https://www.elastic.co/guide/en/x-pack/current/file-realm.html
Which means these users are available only on that local node.

The users created from Kibana are part of the native user realm: https://www.elastic.co/guide/en/x-pack/current/native-realm.html
You can create them from the REST APIs or from Kibana directly.

As for managing user roles, you have all the information you need over here: https://www.elastic.co/guide/en/x-pack/current/defining-roles.html both for native and for file realm.

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