class ZuoraConnect::AppInstanceBase

def iv_key

def iv_key
  iv_key_value = ENV['IV_KEY'] || connect_secrets['IV_KEY']
  #Create new one 'Base64.strict_encode64(OpenSSL::Cipher.new('AES-256-CBC').random_iv)'
  raise ZuoraConnect::Exceptions::Error.new("Missing IV cipher key") if iv_key_value.blank?
  return iv_key_value
end