Skip to main content
Glama

vault_delete

Remove secrets from HashiCorp Vault by specifying the storage path to permanently delete sensitive data and maintain security.

Instructions

Delete a secret from Vault at the specified path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe path to delete the secret from (e.g., 'secret/data/myapp')

Implementation Reference

  • Handler for the vault_delete tool: extracts the path argument, deletes the secret using vaultClient.delete(path), and returns a success message.
    case "vault_delete": { const { path } = args as { path: string }; await vaultClient.delete(path); return { content: [ { type: "text", text: `Successfully deleted secret at path: ${path}`, }, ], }; }
  • src/index.ts:77-90 (registration)
    Registration of the vault_delete tool in the TOOLS array, defining name, description, and input schema.
    { name: "vault_delete", description: "Delete a secret from Vault at the specified path", inputSchema: { type: "object", properties: { path: { type: "string", description: "The path to delete the secret from (e.g., 'secret/data/myapp')", }, }, required: ["path"], }, },
  • Input schema for vault_delete tool, requiring a 'path' string.
    inputSchema: { type: "object", properties: { path: { type: "string", description: "The path to delete the secret from (e.g., 'secret/data/myapp')", }, }, required: ["path"],

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kelleyblackmore/vault-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server