Skip to content

Add pqtls support#189

Merged
vedant-jaiswal merged 6 commits intoaws:v2from
vedant-jaiswal:add-pqtls-support
Mar 11, 2026
Merged

Add pqtls support#189
vedant-jaiswal merged 6 commits intoaws:v2from
vedant-jaiswal:add-pqtls-support

Conversation

@vedant-jaiswal
Copy link
Contributor

Issue #, if available:

Description of changes:

Add Post-Quantum TLS support to AWS Secrets Manager Java caching client. Adds configuration option withPostQuantumTlsEnabled() that uses AWS CRT HTTP client with PQTLS enabled.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@vedant-jaiswal vedant-jaiswal requested a review from a team as a code owner March 4, 2026 22:00
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.83%. Comparing base (6b428ef) to head (6b17101).
⚠️ Report is 1 commits behind head on v2.

Additional details and impacted files
@@             Coverage Diff              @@
##                 v2     #189      +/-   ##
============================================
+ Coverage     90.90%   91.83%   +0.92%     
- Complexity       90       97       +7     
============================================
  Files             6        6              
  Lines           231      245      +14     
  Branches         24       26       +2     
============================================
+ Hits            210      225      +15     
  Misses           18       18              
+ Partials          3        2       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add validation to prevent conflicting configuration (custom client + PQTLS flag)
- Throw IllegalArgumentException when both settings are provided
- Add @SuppressFBWarnings annotations to suppress CT_CONSTRUCTOR_THROW warnings
- Validation occurs before field initialization, making it safe
- Update test to verify exception is thrown for invalid configuration
@vedant-jaiswal vedant-jaiswal merged commit 9fe0563 into aws:v2 Mar 11, 2026
5 checks passed
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.

3 participants