Sign a pack with AWS KMS
sign_pack_aws_kmsSign an ISO 20022 evidence pack's SHA-256 digest using AWS KMS, keeping the private key secure and returning the pack with an aws_kms_signature block.
Instructions
Sign a pack's SHA-256 canonical digest with AWS KMS.
**Requires the ``[aws]`` extra** (``pip install
iso20022-evidence-pack-mcp[aws]``) and **reaches AWS KMS over the
network** -- unlike the closed-world tools, this one has a network
surface. The private key never leaves KMS; the tool submits only the
pack's digest. Returns the pack with an ``aws_kms_signature`` block
attached.
Args:
evidence_pack_json: The evidence pack to sign, as JSON text.
key_arn: The ARN of the KMS ``SIGN_VERIFY`` key.
aws_region: The AWS region hosting the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_arn | Yes | The ARN of the KMS SIGN_VERIFY key. | |
| aws_region | No | The AWS region. | us-east-1 |
| evidence_pack_json | Yes | An evidence pack as raw JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||