elasticsearch-users
Verified for current stable LTS
Elasticsearch Users Command: Add New User With Roles
Use for add new user with roles with Elasticsearch Users. Exact CLI syntax to add new user with roles using Elasticsearch Users.
When to use this: Use for add new user with roles with Elasticsearch Users.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
elasticsearch-users useradd <username> -r <role1,role2> elasticsearch-users useradd <username> -r <role1,role2> Command Breakdown
-r- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to add new user with roles using Elasticsearch Users.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Elasticsearch Users Command: Add New User Interactively
elasticsearch-users useradd <username> Elasticsearch Users Command: Change User Password elasticsearch-users passwd <username> Elasticsearch Users Command: Delete User elasticsearch-users userdel <username> Elasticsearch Users Command: List All Native Realm Users elasticsearch-users list Elasticsearch Users Command: List All Users elasticsearch-users list