Skip to main content
Server path: /vault | Type: Embedded | PCID required: No Store and manage encrypted secrets — API keys, passwords, tokens, and credentials. Secrets are encrypted at rest and can be decrypted on demand.

Tools

ToolDescription
vault_list_collectionsList all vault collections
vault_create_collectionCreate a new vault collection
vault_list_itemsList secrets in a collection
vault_get_itemGet a specific secret
vault_create_itemCreate a new secret
vault_update_itemUpdate an existing secret
vault_delete_itemDelete a secret

vault_list_collections

List all vault collections in the current workspace. Parameters: None Response fields:
FieldTypeDescription
collectionsobject[]Array of collection objects
collections[].idstringCollection ID
collections[].namestringCollection name
collections[].descriptionstringCollection description
collections[].typestringCollection type
collections[].maxItemsnumberMaximum number of items allowed
collections[].numItemsnumberCurrent number of items
collections[].isSharedbooleanWhether the collection is shared
collections[].statusstringCollection status
collections[].createdBystringUser ID of the creator
collections[].createdByNamestringDisplay name of the creator
collections[].createdAtstringCreation timestamp
collections[].updatedAtstringLast updated timestamp

vault_create_collection

Create a new vault collection for organizing secrets. Parameters:
ParameterTypeRequiredDescription
namestringYesCollection name
descriptionstringNoCollection description
createdBystringYesUser ID of the creator
createdByNamestringYesDisplay name of the creator
Response fields:
FieldTypeDescription
idstringID of the newly created collection
messagestringSuccess message

vault_list_items

List secrets in a collection. By default, secret content is returned in encrypted form unless decryptSecrets is set to true. Parameters:
ParameterTypeRequiredDefaultDescription
collectionIdstringYesCollection ID
limitnumberNo50Maximum number of items to return
orderedBystringNo"createdAt:desc"Sort order for results
decryptSecretsbooleanNofalseWhether to decrypt secret content in the response
Response fields:
FieldTypeDescription
itemsobject[]Array of secret objects
items[].secretIdstringSecret ID
items[].keystringSecret key / name
items[].contentstringSecret content (encrypted unless decryptSecrets is true)
items[].metadataobjectSecret metadata
items[].secretTypestringType of secret
items[].collectionIdstringParent collection ID
items[].createdAtstringCreation timestamp
items[].updatedAtstringLast updated timestamp

vault_get_item

Get a specific secret from a collection. By default, secret content is returned in encrypted form unless decryptSecrets is set to true. Parameters:
ParameterTypeRequiredDefaultDescription
collectionIdstringYesCollection ID
secretIdstringYesSecret ID
decryptSecretsbooleanNofalseWhether to decrypt secret content in the response
Response fields:
FieldTypeDescription
secretIdstringSecret ID
keystringSecret key / name
contentstringSecret content (encrypted unless decryptSecrets is true)
metadataobjectSecret metadata
secretTypestringType of secret
collectionIdstringParent collection ID
createdAtstringCreation timestamp
updatedAtstringLast updated timestamp
isSecretbooleanWhether the item is a secret
providerIdstringProvider ID
sortFieldstringSort field value

vault_create_item

Create a new secret in a collection. The content value will be encrypted at rest automatically. Parameters:
ParameterTypeRequiredDefaultDescription
collectionIdstringYesCollection ID
keystringYesSecret key / name
contentstring or objectYesSecret content (will be encrypted)
metadataobjectNoMetadata to attach to the secret
secretTypestringNo"login"Type of secret
sortFieldstringNoSort field value
triggerChangesbooleanNoWhether to trigger change events
Response fields:
FieldTypeDescription
idstringSecret ID
docIdstringDocument ID (same as id, for backward compatibility)
keystringSecret key / name
messagestringSuccess message
Use the docId value as the secretId parameter when calling vault_get_item, vault_update_item, or vault_delete_item.

vault_update_item

Update an existing secret in a collection. The new content value will be re-encrypted at rest automatically. Parameters:
ParameterTypeRequiredDescription
collectionIdstringYesCollection ID
secretIdstringYesSecret ID
contentstring or objectYesNew secret content (will be re-encrypted)
metadataobjectNoMetadata to update
triggerChangesbooleanNoWhether to trigger change events
Response fields:
FieldTypeDescription
idstringSecret ID
docIdstringDocument ID (same as id, for backward compatibility)
keystringSecret key / name
messagestringSuccess message

vault_delete_item

Delete a secret from a collection. This action is destructive and irreversible. Parameters:
ParameterTypeRequiredDescription
collectionIdstringYesCollection ID
secretIdstringNoSecret ID
keystringNoSecret key / name
sortFieldstringNoSort field value
Response fields:
FieldTypeDescription
messagestringConfirmation message