Home / Servers / DigitalOcean API / security_update_secret

Update Secret

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Update Secret To update a secret, send a PUT request to /v2/security/secrets/{secret}. version is the secret's current version. If it does not match, the request returns a 409 response and the secret is not… [PUT /v2/security/secrets/{secret}]

Name on the gateway: digitalocean_api__security_update_secret · may change things.

Parameters

NameTypeDescription
secret requiredstringThe name of the secret.
region requiredstringThe region where the secret is stored.
version requiredintegerThe current version of the secret to update.
values requiredobjectUpdated key-value pairs for the secret.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__security_update_secret",
  "arguments": {
    "secret": "…",
    "region": "…",
    "version": 0,
    "values": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update secret tool with secret set to ….

More from DigitalOcean API