create_role
Define and manage role-based access control in Elasticsearch by specifying cluster and index privileges for security management.
Instructions
Create or update a role with specified cluster and index privileges.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Role name | |
| cluster | No | Cluster privileges | |
| indices | No | Index privileges | |
| applications | No | Application privileges | |
| run_as | No | Users this role can impersonate | |
| metadata | No |