ncloud_kms_encrypt
Encrypt base64-encoded plaintext up to 32KB using a KMS key version. Supports AES256 and RSA2048 keys, with optional convergent encryption context.
Instructions
Encrypt data (up to 32KB) using the current version of a KMS key. Only AES256 or RSA2048 key types supported.
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": {
"keyTag": "<keyTag>",
"plaintext": "<plaintext>"
},
"name": "ncloud_kms_encrypt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyTag | Yes | Key tag - unique identifier derived from key name | |
| context | No | Base64-encoded context for convergent encryption (required if key has convergent encryption enabled, max 50 bytes) | |
| plaintext | Yes | Base64-encoded plaintext data (string or array of strings, max 32KB each) |