Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.14 KB

ms.extract.preprocessor.parameters.md

File metadata and controls

31 lines (21 loc) · 1.14 KB

ms.extract.preprocessor.parameters

Tags: conversion

Type: string

Format: A JsonObject

Related:

Description

When a source file is encrypted, it requires credentials to decrypt. ms.extract.preprocessor.parameters defines parameters to pass into the preprocessor along with the input.

For GPG based decryption/encryption, parameters needed are:

  • "action" : string, decrypt/encrypt
  • "keystore_password" : string, some password,
  • "keystore_path" : string, path to the secret keyring,
  • "cipher" : string, optional, cipher algorithm to use, default to CAST5 (128 bit key, as per RFC 2144)
  • "key_name" : string, optional, the key id, a long value, of the public Gpg key as a Hex string

Example

The following provides key and password to GPG decryption:

  • ms.extract.preprocessor.parameters={"com.linkedin.cdi.preprocessor.GpgDecryptProcessor": {"keystore_path" :"/some path/secret.gpg", "keystore_password" : "ENC(some password)"}}

back to summary