vault_sign
Sign data with a vaulted key without exposing the key, requiring owner approval of the data and its SHA-256, then return the signature, public key, and algorithm.
Instructions
Sign data with a vaulted signing key whose value is never returned to you. Every signature is approved by the owner, who is shown the data (in full when it is text up to 64 KiB) and its sha256. Returns the signature (base64), the public key and the algorithm. At most 256 KiB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The bytes to sign, as text or encoded. | |
| purpose | Yes | What this signature is for. The owner sees it. | |
| encoding | No | How data is written. Default utf8. | |
| entry_id | Yes | Vault entry holding the signing key. |