-
Notifications
You must be signed in to change notification settings - Fork 56
feat: Implement mTLS event stream authentication support #1402
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #1402 +/- ##
==========================================
+ Coverage 94.36% 94.60% +0.24%
==========================================
Files 339 343 +4
Lines 20006 21111 +1105
==========================================
+ Hits 18878 19973 +1095
- Misses 1128 1138 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
8c3f3de
to
986759f
Compare
02dc635
to
4424554
Compare
4a2fa14
to
1dd17fd
Compare
This commit introduces comprehensive mTLS (mutual TLS) authentication support for Event Streams, including: - New EventStreamCredentialType.MTLS credential type for mTLS authentication - Certificate synchronization service with Gateway API integration - PEM certificate validation with expiration checking - RFC 2253 compliant certificate subject validation - Automatic certificate lifecycle management (create/update/delete) - SyncCertificates service for Gateway certificate management - Enhanced EdaCredential model with mTLS-specific validation - EventStream views with automatic certificate synchronization - New API exceptions for Gateway and credential errors - Certificate format validation using cryptography library - Subject DN validation with proper X.509 attribute checking - Secure certificate storage and transmission to Gateway - Proper error handling for authentication failures - Comprehensive unit tests for certificate validation - Integration tests for EventStream mTLS workflows - Edge case testing for certificate lifecycle management - Service-level testing for Gateway synchronization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
Summary
This PR implements comprehensive mTLS (mutual TLS) authentication support for Event Streams, enabling secure client certificate-based authentication with the Gateway service.
https://issues.redhat.com/browse/AAP-46060
Key Features
Core Components
SyncCertificates
service for Gateway certificate managementEdaCredential
model with mTLS-specific validationEventStream
views with automatic certificate synchronizationSecurity Enhancements
Test plan
🤖 Generated with Claude Code