From 1ea237c321ed87386a76e96a3c9ddf9877033585 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Wed, 26 Jul 2023 11:42:38 -0700 Subject: [PATCH] Switch back the original signing key for httpjwtauthenticator testing configs Signed-off-by: Ryan Liang --- src/test/resources/legacy/securityconfig_v6/config.yml | 2 +- .../resources/legacy/securityconfig_v6/migration/config.yml | 2 +- src/test/resources/restapi/securityconfig_nondefault.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/resources/legacy/securityconfig_v6/config.yml b/src/test/resources/legacy/securityconfig_v6/config.yml index 38bd8b8605..19b1fd76cd 100644 --- a/src/test/resources/legacy/securityconfig_v6/config.yml +++ b/src/test/resources/legacy/securityconfig_v6/config.yml @@ -120,7 +120,7 @@ opendistro_security: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null roles_key: null diff --git a/src/test/resources/legacy/securityconfig_v6/migration/config.yml b/src/test/resources/legacy/securityconfig_v6/migration/config.yml index 9f526e89b4..cd9b2398c9 100644 --- a/src/test/resources/legacy/securityconfig_v6/migration/config.yml +++ b/src/test/resources/legacy/securityconfig_v6/migration/config.yml @@ -111,7 +111,7 @@ opendistro_security: type: jwt challenge: false config: - signing_key: "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z" + signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key" jwt_header: "Authorization" jwt_url_parameter: null roles_key: null diff --git a/src/test/resources/restapi/securityconfig_nondefault.json b/src/test/resources/restapi/securityconfig_nondefault.json index e70c331c7d..a5660c6496 100644 --- a/src/test/resources/restapi/securityconfig_nondefault.json +++ b/src/test/resources/restapi/securityconfig_nondefault.json @@ -28,7 +28,7 @@ "challenge" : false, "type" : "jwt", "config" : { - "signing_key" : "VGhpcyBpcyB0aGUgand0IHNpZ25pbmcga2V5IGZvciBhbiBvbiBiZWhhbGYgb2YgdG9rZW4gYXV0aGVudGljYXRpb24gYmFja2VuZCBmb3IgdGVzdGluZyBvZiBleHRlbnNpb25z", + "signing_key" : "base64 encoded HMAC key or public RSA/ECDSA pem key", "jwt_header" : "Authorization" } },