stack kb roles put-security-role-name cli command

Auth required Idempotent Scope: global
elastic stack kb roles put-security-role-name \
  --name <name> \
  --elasticsearch <elasticsearch> \
  [options]
		

Create or update a role

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--name string required
The role name.
--elasticsearch string required
--create-only
When true, a role is not overwritten if it already exists.
--description string
A description for the role.
--kibana string[]

Repeatable: pass --kibana multiple times to supply more than one value

--metadata string
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--json

output as JSON