Skip to content

Add mTLS client certificate information to APIGatwayV2Request #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

sliemeobn
Copy link
Contributor

Add mTLS client certificate information to APIGatwayV2Request

Motivation:

When configuring mTLS in API Gatway (HTTP v2), the event payload contains information about the client certificate. This information is currently not present in the APIGatwayV2Request structure.

Modifications:

Added optional fields for authentication.clientCert on APIGatewayV2Request according to the AWS "spec".

Result:

mTLS client certification information is decoded and passed to the lambda handler.

@tomerd
Copy link
Contributor

tomerd commented Feb 5, 2024

@swift-server-bot test this please

@sliemeobn
Copy link
Contributor Author

@tomerd * polite cough *

@tomerd tomerd merged commit 5b4633d into swift-server:main Feb 13, 2024
@tomerd
Copy link
Contributor

tomerd commented Feb 13, 2024

thanks @sliemeobn and sorry about the delay

@sliemeobn
Copy link
Contributor Author

no worries, thanks for merging!

@sliemeobn sliemeobn deleted the client-cert-apigw2 branch July 10, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants