elasticsearch-reset-password
Reset the passwords of users in the native realm and built-in users. tldr-pages
On several platforms
Several platforms
Reset the password of the user to an auto-generated value and print it in the console
elasticsearch-reset-password --username userIdentifyPrompt interactively to reset the password for a native user
elasticsearch-reset-password --username user --interactiveIdentifyInteractively reset the password for a user at a specified Elasticsearch node URL
elasticsearch-reset-password --url host:port --username user --interactiveIdentify