Sign a pack with Vault Transit
sign_pack_vaultSign an ISO 20022 evidence pack with HashiCorp Vault Transit, attaching a vault_signature block to ensure tamper-evident authenticity.
Instructions
Sign a pack's canonical bytes with HashiCorp Vault Transit.
**Requires the ``[vault]`` extra** (``pip install
iso20022-evidence-pack-mcp[vault]``) and **reaches a Vault server over the
network** -- unlike the closed-world tools, this one has a network
surface. POSTs to ``/v1/transit/sign/{key_name}`` and returns the pack
with a ``vault_signature`` block attached.
Args:
evidence_pack_json: The evidence pack to sign, as JSON text.
vault_url: The base URL of the Vault server.
key_name: The Transit key to sign with.
token: The Vault access token.
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": {
"evidence_pack_json": "<evidence_pack_json>",
"vault_url": "<vault_url>",
"key_name": "<key_name>",
"token": "<token>"
},
"name": "sign_pack_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The Vault access token. | |
| key_name | Yes | The Transit key name to sign with. | |
| vault_url | Yes | The base URL of the Vault server. | |
| evidence_pack_json | Yes | An evidence pack as raw JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||