Skip to content

Commit

Permalink
Switch back the original signing key for httpjwtauthenticator testing…
Browse files Browse the repository at this point in the history
… configs

Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jul 26, 2023
1 parent e3111b8 commit 1ea237c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/resources/legacy/securityconfig_v6/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/restapi/securityconfig_nondefault.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down

0 comments on commit 1ea237c

Please sign in to comment.