Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.53 KB

Encrypt.md

File metadata and controls

36 lines (30 loc) · 1.53 KB

Akeyless::Encrypt

Properties

Name Type Description Notes
display_id String The display id of the key to use in the encryption process [optional]
encryption_context Hash<String, String> 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 [optional]
input_format String Select default assumed format for any plaintext input. Currently supported options: [base64] [optional]
item_id Integer The item id of the key to use in the encryption process [optional]
json Boolean Set output format to JSON [optional][default to false]
key_name String The name of the key to use in the encryption process
plaintext String Data to be encrypted [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]
version Integer key version (relevant only for classic key) [optional]

Example

require 'akeyless'

instance = Akeyless::Encrypt.new(
  display_id: null,
  encryption_context: null,
  input_format: null,
  item_id: null,
  json: null,
  key_name: null,
  plaintext: null,
  token: null,
  uid_token: null,
  version: null
)