diff --git a/src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java b/src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java index 8bf76060e4..e2afd2d86d 100644 --- a/src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java +++ b/src/main/java/org/opensearch/security/authtoken/jwt/JwtVendor.java @@ -89,7 +89,9 @@ static JsonWebKey createJwkFromSettings(Settings settings) throws Exception { Settings jwkSettings = settings.getAsSettings("jwt").getAsSettings("key"); if (jwkSettings.isEmpty()) { - throw new Exception("Settings for key is missing. Please specify at least the option signing_key with a shared secret."); + throw new Exception( + "Settings for signing key is missing. Please specify at least the option signing_key with a shared secret." + ); } JsonWebKey jwk = new JsonWebKey();