diff --git a/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java b/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java index 4f2fe4e829f31..9cb43431b91e6 100644 --- a/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java +++ b/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java @@ -128,6 +128,15 @@ public class ServiceAccountIT extends ESRestTestCase { ], "allow_restricted_indices": true }, + { + "names": [ + ".secrets*" + ], + "privileges": [ + "read" + ], + "allow_restricted_indices":true + }, { "names": [ "synthetics-*"