v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/encrypt

Request body

display-idstring

The display id of the key to use in the encryption process

encryption-contextobject

name-value pair that specifies the encryption context to be used for authenticated encryption. If used here, the same value must be supplied to the decrypt command or decryption will fail

input-formatstring

Select default assumed format for any plaintext input. Currently supported options: [base64]

item-idinteger

The item id of the key to use in the encryption process

jsonboolean

Set output format to JSON

key-namestring required

The name of the key to use in the encryption process

plaintextstring

Data to be encrypted

tokenstring

Authentication token (see /auth and /configure)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

versioninteger

key version (relevant only for classic key)

Response

encryptResponse wraps response body.

resultstring