[Feature Request] Evaluate Cloudflare Secrets Store as a Vault Provider

Đang mở
#6,007 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend, security

Hướng nghiên cứu

This is a feasibility question, not a patch. Start with the linked Dokploy secrets-providers docs and the Cloudflare Secrets Store access-control and Workers integration pages to confirm whether any supported way exists to read secret values from an external system. The issue names no source files or tests. Done means a written conclusion: a native integration plan, a Worker-broker design, or a documented deferral.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
What problem will this feature address?

Dokploy supports external secret managers through Vault Providers, but Cloudflare Secrets Store is not currently listed as an option.

For self-hosted applications (including Docker Compose deployments), users who already manage infrastructure with Cloudflare would benefit from referencing centrally managed credentials such as database passwords, API tokens, and application secrets without duplicating those values in manually maintained .env files or adopting a separate secrets platform.

Describe the solution you'd like

Please evaluate the technical feasibility of adding Cloudflare Secrets Store as a Dokploy Vault Provider, following the existing deploy-time secret-resolution model if Cloudflare offers a secure, supported way to retrieve secret values for an external deployment system.

If feasible, the integration could include:

  • Configuration for the Cloudflare account/store and an appropriately scoped identity.
  • Secret-name discovery/autocomplete and references such as ${{vault.cloudflare-prod.DB_PASSWORD}} (illustrative syntax).
  • Resolution at deployment time for applications and Docker Compose services, rather than fetching a secret on each application request.
  • Respect for Dokploy's existing project/environment assignments and access controls.
  • Clear connection tests and errors for missing secrets, insufficient authorization, and unsupported retrieval operations.
  • No persistence of resolved secret values in the Dokploy database or exposure through the environment editor.
Technical feasibility / upstream limitation

This is not a request to assume that the current Cloudflare Secrets Store management API can return plaintext values.

According to Cloudflare's documentation:

  • The Secrets Store API supports listing and retrieving metadata about secrets, but does not expose their stored values to external API clients.
  • The Account Secrets Store Read permission does not grant access to secret values.
  • Cloudflare Workers can access authorized secrets via Secrets Store bindings (e.g., await env.MY_SECRET.get()), subject to resource scopes and deployment permissions.
  • Workers' ordinary secret-binding management APIs are also not a workaround for reading plaintext values.

As a result, a direct drop-in implementation of Dokploy's current external-vault abstraction may not currently be viable.

Possible paths to evaluate:

  1. Native direct integration, if Cloudflare introduces a documented API/identity flow for external secret consumption. This would be preferable.
  2. An optional Worker-based broker, only if it can be designed and documented securely, with strong workload authentication/authorization, narrowly scoped access, replay protection where applicable, auditability, and no public unauthenticated secret retrieval. This introduces extra infrastructure and risk and should not be assumed to be an acceptable default.
  3. Document the limitation and defer native support if neither approach meets Dokploy's security model.

A connector should not require a broad administrator token merely to read deployment secrets, and should not misrepresent metadata access as secret-value access.

Describe alternatives you've considered
  • Infisical: supported by Dokploy and functionally suitable, but requires another provider.
  • HashiCorp Vault / OpenBao: supported, but can add operational overhead to small self-hosted setups.
  • Existing Dokploy environment variables: workable, but not a direct integration with Cloudflare Secrets Store.
Additional context
Will you send a PR to implement it?

Not currently. I would be happy to discuss a technically feasible and secure integration approach.

Ngôn ngữ chính
TypeScript
Star
38.8k
Fork
3.2k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
110

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dokploy/dokploy

Tất cả issue của Dokploy/dokploy

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.