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
--namestringrequired- The role name.
--elasticsearchstringrequired--[no-]create-only- When true, a role is not overwritten if it already exists.
--descriptionstring- A description for the role.
--kibanastring[]--metadatastring--input-filestring- 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