Skip to main content

EncryptContentAge

Description​

Encrypt content using the age-encryption.org/v1 specification. Supports binary or ASCII armored content encoding using configurable properties. The age standard uses ChaCha20-Poly1305 for authenticated encryption of the payload. The age-keygen command supports generating X25519 key pairs for encryption and decryption operations.

Tags​

ChaCha20-Poly1305, X25519, age, age-encryption.org, encryption

Properties​

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
File Encoding *File EncodingBINARY
  • BINARY
  • ASCII
Output encoding for encrypted files. Binary encoding provides optimal processing performance.
Public Key Source *Public Key SourcePROPERTIES
  • PROPERTIES
  • RESOURCES
Source of information determines the loading strategy for X25519 Public Key Recipients
Public Key Recipients *Public Key RecipientsOne or more X25519 Public Key Recipients, separated with newlines, encoded according to the age specification, starting with age1

This property is only considered if:
  • the property Public Key Source has a value of PROPERTIES
Public Key Recipient Resources *Public Key Recipient ResourcesOne or more files or URLs containing X25519 Public Key Recipients, separated with newlines, encoded according to the age specification, starting with age1

This property is only considered if:
  • the property Public Key Source has a value of RESOURCES

Dynamic Properties​

This component does not support dynamic properties.

Relationships​

NameDescription
failureEncryption Failed
successEncryption Completed

Reads Attributes​

This processor does not read attributes.

Writes Attributes​

This processor does not write attributes.

State Management​

This component does not store state.

Restricted​

This component is not restricted.

Input Requirement​

This component requires an incoming relationship.

System Resource Considerations​

This component does not specify system resource considerations.

See Also​

DecryptContentAge