key_protect_wrap_key
Wraps a base64-encoded data encryption key using a root key in IBM Key Protect for envelope encryption.
Instructions
Wrap (encrypt) data using a root key in IBM Key Protect - for envelope encryption
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": {
"key_id": "<key_id>",
"plaintext": "<plaintext>"
},
"name": "key_protect_wrap_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aad | No | Additional authentication data (AAD) for AEAD encryption | |
| key_id | Yes | The ID of the root key to use for wrapping | |
| plaintext | Yes | Base64-encoded data encryption key to wrap |