Reset Built-in users

I am building elasticsearch cluster with SSL following this tutorial :

My first node is a debian with elastic running as a service. I ran the command : bin/elasticsearch-setup-passwords auto

But when listing users with bin/elasticsearch-users list I get a : No users found

Is there a way to reset all Built-in users password ? Or at least to list these built-in users

PS : I am trying to automate the deployment with ansible and setting these passwords is giving me a hard time.

You will generally get better results from reading the official documentation than from blog posts.
Blog posts can be useful for clarifying a specific use case, but they cannot go into enough depth to walk you through how features work.

Instead, you should start here: Configure security in Elasticsearch | Elasticsearch Guide [8.11] | Elastic

That utility lists users in the file realm. The builtin users are not in the file realm - instead you need to use the Get Users API

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