Encrypts or Decrypts a FlowFile using either symmetric encryption with a password and randomly generated salt, or asymmetric encryption using a public and secret key.
encryption, decryption, password, JCE, OpenPGP, PGP, GPG
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Mode | Encrypt |
| Specifies whether the content should be encrypted or decrypted |
Key Derivation Function | NIFI_LEGACY |
| Specifies the key derivation function to generate the key from the password (and salt) |
Encryption Algorithm | MD5_128AES |
| The Encryption Algorithm to use |
Password | The Password to use for encrypting or decrypting the data Sensitive Property: true | ||
Public Keyring File | In a PGP encrypt mode, this keyring contains the public key of the recipient | ||
Public Key User Id | In a PGP encrypt mode, this user id of the recipient | ||
Private Keyring File | In a PGP decrypt mode, this keyring contains the private key of the recipient | ||
Private Keyring Passphrase | In a PGP decrypt mode, this is the private keyring passphrase Sensitive Property: true |
Name | Description |
---|---|
failure | Any FlowFile that cannot be encrypted or decrypted will be routed to failure |
success | Any FlowFile that is successfully encrypted or decrypted will be routed to success |