diff --git a/pages/common/elasticsearch-users.md b/pages/common/elasticsearch-users.md new file mode 100644 index 0000000000..eafe5b0436 --- /dev/null +++ b/pages/common/elasticsearch-users.md @@ -0,0 +1,24 @@ +# elasticsearch-users + +> Manage native realm users in Elasticsearch, including creating, updating, and deleting users. +> More information: . + +- Add a new user interactively (prompts for password): + +`elasticsearch-users useradd {{username}}` + +- Add a new user and specify roles: + +`elasticsearch-users useradd {{username}} -r {{role1,role2}}` + +- Change the password for an existing user: + +`elasticsearch-users passwd {{username}}` + +- Delete a user: + +`elasticsearch-users userdel {{username}}` + +- List all users in the native realm: + +`elasticsearch-users list`