Repository navigation
Closed
Labels
area: certificatesCertificates, ACME, trusted CAs, and TLS material.area: runtimeCaddy and privileged controller runtime behavior.area: uiWeb interface components, routes, styling, and localization.enhancementNew feature or request
Milestone
Description
Summary
Cloudflare DNS-01 currently accepts provider configuration for certificate operations. Beta 2 also needs DDNS across several zones without repeatedly entering credentials or changing existing certificate behavior. Add a shared, encrypted Cloudflare connection model that DNS-01 and DDNS can reference.
Scope
- Manage named Cloudflare connections and select multiple permitted zones through an authenticated management workflow.
- Define typed connection references, ownership, read/manage permissions, validation, and connection-test results before implementing consumers.
- Use narrowly scoped API tokens; report missing access to selected zones with actionable, redacted errors.
- Preserve existing certificate-bound credentials and renewal behavior. Document an additive adoption path; sharing must not require broadening token permissions.
Acceptance criteria
- An authorized administrator can create, test, edit, and remove a connection, with explicit handling of active DNS-01/DDNS references.
- Zone selection supports several zones without allowing a selected zone to escape the connection's permissions.
- Stored secrets remain encrypted and are never returned through ordinary reads, realtime events, audit records, support exports, or browser errors.
- Existing DNS-01 requests and persisted certificate renewals continue to work without manual credential conversion.
- Token replacement/revocation and unavailable Cloudflare APIs leave existing working configuration intact.
- New settings and references have a documented backup/restore and compatibility contract.
Verification
- Cover authorization, redaction, zone selection, reference validation, token rotation, provider failures, and existing DNS-01 regression cases using controlled fixtures.
Context
- Baseline: feat: add DNS-01 certificate challenges #27 (DNS-01), feat: add wildcard certificate support #29 (wildcard certificates), and the existing controller-owned certificate/DNS boundary.
Dependencies and order
Implementation step: B2-01
Priority: P1 / shared prerequisite
Prerequisites: No preceding Beta 2 feature step. Preserve the existing Beta 1 contracts.
Roadmap: v1.0.0-beta.2. Follow the numbered milestone sequence for a straightforward step-by-step implementation.
Metadata
Metadata
Assignees
Labels
area: certificatesCertificates, ACME, trusted CAs, and TLS material.area: runtimeCaddy and privileged controller runtime behavior.area: uiWeb interface components, routes, styling, and localization.enhancementNew feature or request
Activity
RentnerKev commentedon Oct 17, 2026
Implemented and verified in merged PR #246. Tracking B2-01 as completed.