Skip to content

Commit

Permalink
Adjust read-only key permission example
Browse files Browse the repository at this point in the history
There is no need to allow this key to read all clusters. API keys should have as minimal permissions as they require.
  • Loading branch information
sarahg authored Oct 10, 2024
1 parent 6583ad0 commit 14fc0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials-elasticsearch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Notice here we are only giving read privileges for this api key. You will need t
```json
{
"superuser": {
"cluster": ["all"],
"cluster": [""],
"indices": [
{
"names": ["my-example-movies"],
Expand Down

0 comments on commit 14fc0f1

Please sign in to comment.