You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Container deployment and mTLS trust level extraction
Container Deployment (Task #6):
- Containerfile with multi-stage build (builder + runtime)
- Alpine Linux base for minimal size
- Non-root user for security
- Health check integration
- docker-compose.yml with gateway + example backend
- Production config with environment variables
mTLS Trust Level Extraction (Task #9):
- Extract trust levels from X.509 client certificates
- Support for both header-based and mTLS-based trust
- Certificate subject parsing (O, OU, CN fields)
- Trust level determination:
- "internal" - verified cert with "Internal Services" OU
- "authenticated" - verified cert from trusted CA
- "untrusted" - no cert or unverified
- Configurable via TRUST_LEVEL_SOURCE env var
Configuration:
- trust_level_source: "header" (default) or "mtls"
- trust_level_header: custom header name
- Backward compatible with existing header-based auth
Production ready: All Phase 4 features complete
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments