From 14fc0f17cc990b1f3eb3f36081c03e693fc20af8 Mon Sep 17 00:00:00 2001 From: Sarah German Date: Thu, 10 Oct 2024 15:35:55 -0500 Subject: [PATCH] Adjust read-only key permission example There is no need to allow this key to read all clusters. API keys should have as minimal permissions as they require. --- docs/tutorials-elasticsearch.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials-elasticsearch.mdx b/docs/tutorials-elasticsearch.mdx index 6ddc29c8..dc0c37aa 100644 --- a/docs/tutorials-elasticsearch.mdx +++ b/docs/tutorials-elasticsearch.mdx @@ -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"],