Skip to content

Commit 734e78c

Browse files
committed
Updated lambda authorizer test json to includ clientCert
1 parent 0e98aee commit 734e78c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

events/testdata/apigw-v2-request-lambda-authorizer.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929
}
3030
},
3131
"apiId": "api-id",
32+
"authentication": {
33+
"clientCert": {
34+
"clientCertPem": "-----BEGIN CERTIFICATE-----\nMIIEZTCCAk0CAQEwDQ...",
35+
"issuerDN": "C=US,ST=Washington,L=Seattle,O=Amazon Web Services,OU=Security,CN=My Private CA",
36+
"serialNumber": "1",
37+
"subjectDN": "C=US,ST=Washington,L=Seattle,O=Amazon Web Services,OU=Security,CN=My Client",
38+
"validity": {
39+
"notAfter": "Aug 5 00:28:21 2120 GMT",
40+
"notBefore": "Aug 29 00:28:21 2020 GMT"
41+
}
42+
}
43+
},
3244
"domainName": "id.execute-api.us-east-1.amazonaws.com",
3345
"domainPrefix": "id",
3446
"time": "12/Mar/2020:19:03:58+0000",

0 commit comments

Comments
 (0)