From 21cfb693b2748b49e10c408b0d08facf3311a46f Mon Sep 17 00:00:00 2001 From: Amine LOUHICHI <32558537+aminelch@users.noreply.github.com> Date: Wed, 21 May 2025 09:22:48 +0100 Subject: [PATCH] elasticsearch-reset-password: add page (#16524) * elasticsearch-reset-password: add page Closes: #16523 * Apply suggestions from code review Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> --------- Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> --- pages/common/elasticsearch-reset-password.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/elasticsearch-reset-password.md diff --git a/pages/common/elasticsearch-reset-password.md b/pages/common/elasticsearch-reset-password.md new file mode 100644 index 0000000000..e82dee6ebf --- /dev/null +++ b/pages/common/elasticsearch-reset-password.md @@ -0,0 +1,16 @@ +# elasticsearch-reset-password + +> Reset the passwords of users in the native realm and built-in users. +> More information: . + +- Reset the password of the user to an auto-generated value and print it in the console: + +`elasticsearch-reset-password {{[-u|--username]}} {{user}}` + +- Prompt interactively to reset the password for a native user: + +`elasticsearch-reset-password {{[-u|--username]}} {{user}} {{[-i|--interactive]}}` + +- Interactively reset the password for a user at a specified Elasticsearch node URL: + +`elasticsearch-reset-password --url {{host}}:{{port}} {{[-u|--username]}} {{user}} {{[-i|--interactive]}}`