# Elasticsearch-users added is not shown in Kibana UI

**URL:** <https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** elastic-stack-security\
**Created:** [January 28, 2021, 10:49am UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481 "2021-01-28T10:49:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchudinov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mchudinov/32/82618_2.png) [@mchudinov](https://discuss.elastic.co/u/mchudinov)\
**Post date:** [January 28, 2021, 10:49am UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/1 "2021-01-28T10:49:58Z")

</div>

I have ECK Elasticsearch and Kibana running in k8s (Azure). One pod of each.  
I made a user with \*bin/elasticsearch-users useradd test123 -p 123456 -r superuser \*

```
# elasticsearch-users useradd test123 -p 123456 -r superuser
# elasticsearch-users list
test123 : superuser

```

The user can login to Kibana, but is not listed in Kibana UI. Why?

 ![Screenshot_2021-01-28 Elastic](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e3092ceed17f7401a054069fe843671c81bdc174.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_g/32/49178_2.png) [@Andrew\_G](https://discuss.elastic.co/u/Andrew_G)\
**Post date:** [January 28, 2021, 5:26pm UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/2 "2021-01-28T17:26:26Z")

</div>

Hi @mchudinov, since this appears to be a k8-related authentication question, I'm going to move this post to the _Elastic Orchestration_ category

> **[Elastic Orchestration](https://discuss.elastic.co/c/orchestration/85)**
>
> Public cloud? Private cloud? Bare metal? Containers? We're there with ECE and ECK.

, because the _Elastic Security_ category is specific to to the [Elastic Security Solution](https://www.elastic.co/security).

---

<div class="post-metadata">

**Author:** ![Andrew\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_g/32/49178_2.png) [@Andrew\_G](https://discuss.elastic.co/u/Andrew_G)\
**Post date:** [January 28, 2021, 5:35pm UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/3 "2021-01-28T17:35:40Z")

</div>

Eek, it appears I don't have permission to move your post to [ECK](https://discuss.elastic.co/c/orchestration/85)!

@mchudinov would you be willing to manually post your question here?

> **[Elastic Orchestration](https://discuss.elastic.co/c/orchestration/85)**
>
> Public cloud? Private cloud? Bare metal? Containers? We're there with ECE and ECK.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [January 29, 2021, 5:46am UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/4 "2021-01-29T05:46:32Z")

</div>

The Kibana UI (and the corresponding Elasticsearch API) only shows users from the Native realm, as those are the only users that can be managed via the cluster.

The user that you created with `elasticsearch-users` is in the File realm, which is different and cannot be managed via the UI or API.

Generally we recommend that users are created in the native realm rather than the file realm. If you have a small number of service accounts that you want to manage as code (or you want them to be available before the cluster fully forms), then you can use the file realm for that, but the tradeoff is that you have to use the CLI tooling to manage them.

---

<div class="post-metadata">

**Author:** ![Thibault\_Richard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thibault_richard/32/50513_2.png) [@Thibault\_Richard](https://discuss.elastic.co/u/Thibault_Richard)\
**Post date:** [January 29, 2021, 10:29am UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/5 "2021-01-29T10:29:47Z")

</div>

Since ECK 1.1.0, file realm users and roles are configurable using Kubernetes secrets. This notably enables consistent and auditable user management practices and GitOps use cases.

Documentation: [Users and roles | Elastic Cloud on Kubernetes [1.3] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/1.3/k8s-users-and-roles.html#k8s_creating_custom_users).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:22am UTC](https://discuss.elastic.co/t/elasticsearch-users-added-is-not-shown-in-kibana-ui/262481/6 "2022-11-04T08:22:44Z")

</div>


