ncloud_kms_decrypt
Decrypt ciphertext using a KMS key with AES256 or RSA2048. Requires keyTag and ciphertext with KMS prefix; optionally provide base64-encoded context if used during encryption.
Instructions
Decrypt ciphertext using a KMS key. Only AES256 or RSA2048 key types supported. Ciphertext must include KMS prefix (ncpkms:version:ciphertext).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyTag | Yes | Key tag - unique identifier derived from key name | |
| context | No | Base64-encoded context used during encryption (required if convergent encryption was used) | |
| ciphertext | Yes | Ciphertext data including KMS prefix (string or array of strings) |