Skip to main content
Glama

dokploy_vault_provider

Configure external secret managers (HashiCorp Vault, AWS, Infisical, Doppler, Azure and more) and assign them to Dokploy projects. Create, update, test connections, or list secret names before saving credentials.

Instructions

External secret-manager (vault) configuration. list, get (vaultProviderId), create (name+config+assignments), update (vaultProviderId+name+config+assignments — the API REPLACES the provider, so all four must be sent even when changing one; run get first), remove (vaultProviderId), testConnection (vaultProviderId for a saved provider, or config to check credentials before saving), listSecretNames (vaultProviderId+projectId, environmentId?). config is discriminated on providerType: hashicorp | infisical | aws | aws-parameter-store | doppler | azure | scaleway | phase. Note infisical.projectId and scaleway.projectId are that provider's own project, NOT the Dokploy projectId used in assignments. assignments is [{projectId, environmentIds?}] naming the Dokploy projects the vault serves. listSecretNames returns names only — Dokploy exposes no API to read a secret's value — and provider credentials are never echoed back in tool output.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "dokploy_vault_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoProvider name (letters, digits, _ and - only)
actionYes
configNoVault credentials, keyed by providerType
projectIdNolistSecretNames: Dokploy project ID
assignmentsNoDokploy projects/environments this vault serves
environmentIdNolistSecretNames: narrow to one environment
vaultProviderIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.11.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv1.10.0
    • changedInput schema / properties / config / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "mount": {
      -        "description": "defaults to 'secret'",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "namespace": {
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "hashicorp",
      -        "type": "string"
      -      },
      -      "token": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "url": {
      -        "format": "uri",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "url",
      -      "token"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "clientId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clientSecret": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "environmentSlug": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "projectId": {
      -        "description": "the Infisical project, not a Dokploy projectId",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "infisical",
      -        "type": "string"
      -      },
      -      "secretPath": {
      -        "description": "defaults to '/'",
      -        "type": "string"
      -      },
      -      "siteUrl": {
      -        "description": "defaults to https://app.infisical.com",
      -        "format": "uri",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "clientId",
      -      "clientSecret",
      -      "projectId",
      -      "environmentSlug"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "accessKeyId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "endpoint": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "aws",
      -        "type": "string"
      -      },
      -      "region": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "secretAccessKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "region",
      -      "accessKeyId",
      -      "secretAccessKey"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "config": {
      -        "description": "Doppler config name, e.g. 'prod'",
      -        "type": "string"
      -      },
      -      "project": {
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "doppler",
      -        "type": "string"
      -      },
      -      "serviceToken": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "serviceToken"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "clientId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "clientSecret": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "azure",
      -        "type": "string"
      -      },
      -      "tenantId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "vaultUri": {
      -        "format": "uri",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "vaultUri",
      -      "tenantId",
      -      "clientId",
      -      "clientSecret"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "apiUrl": {
      -        "description": "defaults to https://api.scaleway.com",
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "projectId": {
      -        "description": "the Scaleway project, not a Dokploy projectId",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "scaleway",
      -        "type": "string"
      -      },
      -      "region": {
      -        "description": "defaults to 'fr-par'",
      -        "type": "string"
      -      },
      -      "secretKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "projectId",
      -      "secretKey"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "mount": {
      +        "description": "defaults to 'secret'",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "namespace": {
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "hashicorp",
      +        "type": "string"
      +      },
      +      "token": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "url": {
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "url",
      +      "token"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "clientId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clientSecret": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "environmentSlug": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "projectId": {
      +        "description": "the Infisical project, not a Dokploy projectId",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "infisical",
      +        "type": "string"
      +      },
      +      "secretPath": {
      +        "description": "defaults to '/'",
      +        "type": "string"
      +      },
      +      "siteUrl": {
      +        "description": "defaults to https://app.infisical.com",
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "clientId",
      +      "clientSecret",
      +      "projectId",
      +      "environmentSlug"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accessKeyId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "endpoint": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "aws",
      +        "type": "string"
      +      },
      +      "region": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "secretAccessKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "region",
      +      "accessKeyId",
      +      "secretAccessKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accessKeyId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "endpoint": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "parameterPath": {
      +        "description": "parameter discovery path, e.g. '/myapp/prod'",
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "aws-parameter-store",
      +        "type": "string"
      +      },
      +      "region": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "secretAccessKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "region",
      +      "accessKeyId",
      +      "secretAccessKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "description": "Doppler config name, e.g. 'prod'",
      +        "type": "string"
      +      },
      +      "project": {
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "doppler",
      +        "type": "string"
      +      },
      +      "serviceToken": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "serviceToken"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "clientId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "clientSecret": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "azure",
      +        "type": "string"
      +      },
      +      "tenantId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "vaultUri": {
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "vaultUri",
      +      "tenantId",
      +      "clientId",
      +      "clientSecret"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiUrl": {
      +        "description": "defaults to https://api.scaleway.com",
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "projectId": {
      +        "description": "the Scaleway project, not a Dokploy projectId",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "scaleway",
      +        "type": "string"
      +      },
      +      "region": {
      +        "description": "defaults to 'fr-par'",
      +        "type": "string"
      +      },
      +      "secretKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "projectId",
      +      "secretKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiUrl": {
      +        "description": "defaults to https://api.phase.dev",
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "appId": {
      +        "description": "the Phase app ID",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "env": {
      +        "description": "Phase environment name, e.g. 'production'",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "defaults to '/'",
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "phase",
      +        "type": "string"
      +      },
      +      "token": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "token",
      +      "appId",
      +      "env"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Addedv1.9.1

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so well: it discloses that update is a destructive replace requiring all four fields, that secret values cannot be read ('Dokploy exposes no API to read a secret's value'), and that credentials are never echoed in output. It does not state auth/permission requirements or error behavior, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource, then a compact action-by-action list where nearly every clause carries needed information (the replace-semantics warning, the listSecretNames scope). It is dense and telegraphic with parenthetical parameter lists that read poorly, but little is genuinely wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter multi-action tool with no annotations and no output schema, the description covers operation selection, the destructive update semantics, credential discrimination, return-shape caveats for listSecretNames, and secret non-echo behavior. Nothing an agent needs to invoke any action correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds substantial meaning beyond the 71%-covered schema: config is discriminated on providerType with all eight values listed, it warns that infisical.projectId and scaleway.projectId are the provider's own project rather than the Dokploy projectId, and it defines assignments as [{projectId, environmentIds?}] naming served Dokploy projects. This resolves the exact confusion an agent would hit with two similarly named projectId fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely ('External secret-manager (vault) configuration') and then enumerates all seven operations with the argument each takes, so an agent knows exactly what this tool covers. The 'vault' framing distinguishes it from the sibling dokploy_dns_provider and the other resource-scoped tools without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is embedded per action: 'run get first' before update because the API replaces the provider, and testConnection accepts either a saved vaultProviderId or a config to check credentials before saving. It also explains when to use list (see all) versus get (one by vaultProviderId) versus listSecretNames (names scoped to a Dokploy project/environment).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.