Encryption Keys

POST /encrypt-gpg

Changed on

Request

  • Base URL
    https://api.akeyless.io
  • URL
    https://api.akeyless.io/encrypt-gpg
  • Auth
    none declared

Request body

display-idstring

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

input-formatstring

If specified, the plaintext input is assumed to be formatted accordingly. Current 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 required

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

encryptGPGResponse wraps response body.

resultstring

Changes

    • info

      api tag Encryption Keys added

    • info

      api tag v2 removed

    • info

      added the new optional request property