/encryptAsk AIpost https://api.akeyless.io/encryptRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsdisplay-idstringThe display id of the key to use in the encryption processencryption-contextobjectname-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 failencryption-context objectinput-formatstringSelect default assumed format for any plaintext input. Currently supported options: [base64]item-idint64The item id of the key to use in the encryption processjsonbooleanDefaults to falseSet output format to JSONtruefalsekey-namestringrequiredThe name of the key to use in the encryption processplaintextstringData to be encryptedtokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationversionint32key version (relevant only for classic key)Responses 200encryptResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated 7 months ago