Skip to content

Add mTLS authentication support #6

@N3xusFour

Description

@N3xusFour

Summary

Add mutual TLS (mTLS) authentication as an alternative to bearer token auth, similar to how Temporal handles authentication.

Motivation

  • Stronger cryptographic identity vs shared secret
  • No token to leak/rotate
  • Connection rejected at TLS handshake before application code runs

Implementation Notes

  • Certificates will need to be passed via environment variables (base64 encoded)
  • Generate self-signed CA + server/client certs
  • Add script to generate cert chain
  • Make it configurable alongside or instead of bearer token auth

Tasks

  • Create cert generation script
  • Add mTLS configuration to API server
  • Support certs via environment variables (base64 encoded PEM)
  • Update documentation
  • Add example client configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions