Encrypting NiFi sensitive properties with FIPS 140-2 approved algorithm
You can encrypt NiFi sensitive properties, such as the password for a database connection pool service, with a secret key generated by the FIPS 140-2 approved PBKDF2 algorithm.
The PBKDF2 algorithm uses 160,000 hashing iterations with the SHA-512 digest function. The generated secret key is then used to encrypt properties with AES Galois/Counter Mode (GCM), which provides both encryption and integrity protection.
To generate secret keys using the PBKDF2 algorithm, you must specify the algorithm in
the nifi.sensitive.props.algorithm
field and specify a password in
the nifi.sensitive.props.key
field.
See Installing and Configuring CDP with FIPS.