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

Abierto
#6,007 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
38.8k
Forks
3.2k
Merge medio
1 d 10 h
PR fusionados (30 d)
110

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Dokploy/dokploy

Todos los issues de Dokploy/dokploy

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.