elasticsearch-reset-password
all
Reset the passwords of users in the native realm and built-in users.
More info →Options (2)
-u, --usernamebooleanReset the password of the user to an auto-generated value and print it in the console
Example:
elasticsearch-reset-password {{[-u|--username]}} {{user}}-i, --interactivebooleanPrompt interactively to reset the password for a native user
Example:
elasticsearch-reset-password {{[-u|--username]}} {{user}} {{[-i|--interactive]}}Examples (3)
Reset the password of the user to an auto-generated value and print it in the console
elasticsearch-reset-password [-u|--username] userPrompt 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]made by @shridhargupta | data from tldr-pages