Loading

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
--[no-]create-only
When true, a role is not overwritten if it already exists.
--description string
A description for the role.
--kibana string[]
--metadata string
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON