1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-12 15:35:44 +02:00

elasticsearch-users: add page (#17514)

This commit is contained in:
Harshavardhan 2025-08-09 05:13:59 +05:30 committed by GitHub
parent 938b8c4956
commit b8ee598969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
# elasticsearch-users
> Manage native realm users in Elasticsearch, including creating, updating, and deleting users.
> More information: <https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html>.
- 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`