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--create-only- When true, a role is not overwritten if it already exists.
--descriptionstring- A description for the role.
--kibanastring[]-
Repeatable: pass
--kibanamultiple times to supply more than one value --metadatastring--input-filestring- 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