Vault

Vault tools maintain the secrets of the Vault. They read and change the metadata of a secret only. Secret values never pass through the MCP server:

  • When you create a secret, the server generates a random value that is never returned.

  • When you update a secret, the stored value is kept.

  • To store an existing value, for example, an API key, create or edit the secret in the Vault tool of the Cockpit.

A server script reads a secret with await vault.decrypt('<keyId>') if useInScriptEditor is true for the secret.

The vault tools are available from Neptune DXP - Open Edition 25.0.1.

Required access: the Vault tool (vault) in one of your roles. Display access is enough to list and read secret metadata. Saving and deleting require Edit access.

If none of your roles includes this tool with the required access, the tool fails immediately with an access denied error. Contact an administrator to request access, or see Access control for more information on how access is enforced.

Available tools

Tool Description

list_vault_secrets

List vault secrets. Returns metadata only, never the secret values. Supports filtering, field selection, and sorting through listOptions.

get_vault_secret

Return a vault secret by its ID or keyId. Returns metadata only, never the secret value.

save_vault_secret

Create or update a vault secret. Omit id to create a new secret. Include id to update an existing secret. A new secret gets a random value that is never returned. An update keeps the stored value.

delete_vault_secret

Delete a vault secret by its ID or keyId.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.