Skip to content

Instantly share code, notes, and snippets.

@Kumawatlalit912
Created February 10, 2023 05:57
Show Gist options
  • Select an option

  • Save Kumawatlalit912/6d323f2c1a00b9b777e0f6e351ae936e to your computer and use it in GitHub Desktop.

Select an option

Save Kumawatlalit912/6d323f2c1a00b9b777e0f6e351ae936e to your computer and use it in GitHub Desktop.
for elastic user roles
# The default roles file is empty as the preferred method of defining roles is
# through the API/UI. File based roles are useful in error scenarios when the
# API based roles may not be available.
admins:
cluster:
- all
indices:
- names:
- "*"
privileges:
- all
devs:
cluster:
- manage
indices:
- names:
- "*"
privileges:
- write
- delete
- create_index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment