ncloud_kms_encrypt
Encrypt data up to 32KB using a Naver Cloud KMS key, supporting AES256 or RSA2048 algorithms, with optional base64-encoded context for convergent encryption.
Instructions
Encrypt data (up to 32KB) using the current version of a KMS key. Only AES256 or RSA2048 key types supported.
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) |