-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(elasticloadbalancingv2): support AdvertiseTrustStoreCaNames for mTLS #32678
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #32678 +/- ##
==========================================
+ Coverage 80.52% 80.69% +0.16%
==========================================
Files 106 108 +2
Lines 6948 7019 +71
Branches 1287 1299 +12
==========================================
+ Hits 5595 5664 +69
Misses 1175 1175
- Partials 178 180 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
* | ||
* @default AdvertiseTrustStoreCaNames.OFF | ||
*/ | ||
readonly advertiseTrustStoreCaNames?: AdvertiseTrustStoreCaNames; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about changing the type to a boolean
and removing the enum
? It would provide a cleaner interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I will try it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍 You can find a sample for the suggested approach here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the nice sample! I made an update according to it.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
Issue # (if applicable)
N/A
Reason for this change
AWS Application Load Balancer introduces Certificate Authority advertisement to simplify client behavior while using Mutual TLS
Ref: MutualAuthenticationAttributes
Description of changes
Added advertiseTrustStoreCaNames property for MutualAuthentication.
Description of how you validated changes
Updated
alb/listener.test.ts
andinteg.alb-mtls.ts
.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license