Skip to content

feat: add basic authentication to proxy hosts #30

Closed

Description

@RentnerKev

Summary

Add Basic Authentication through structured Proxy Host Access Policies.

Scope

Provide credential create/update/delete and policy assignment. Support multiple credentials per policy where the model permits it cleanly. Password changes must participate in safe reconciliation.

Security

Hash passwords using secure Caddy-supported semantics. Do not provide plaintext password retrieval or expose secrets in client responses or logs. Protect credential management with RBAC.

Acceptance criteria

  • Real Caddy runtime enforces authentication.
  • Valid credentials succeed and invalid credentials receive the appropriate authentication response.
  • Credential rotation/removal reconciles safely.
  • Stored passwords are never returned by APIs or displayed in the UI.
  • Existing public hosts remain unaffected.
  • Tests cover authorization, enforcement, rotation, and secret exclusion.

Priority

P1 — important Alpha 2 feature

Dependencies

Depends on #28.

Activity

  1. added this to the v1.0.0-alpha.2 milestone on Sep 9, 2026
  2. added
    enhancement
    security
    area: proxy
    on Sep 9, 2026
  3. added
    related
    on Sep 9, 2026
  4. github-actions commented on Sep 9, 2026

    @github-actions

    🔍 Similar issues found

    This issue may overlap with existing reports. Please take a look at these related items.

    Match Issue Status
    Medium #28 – feat: add proxy host access policies OPEN

    This is an automated suggestion. This issue has not been closed automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: proxyenhancementrelatedsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions