Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you want to change the encryption key, you need tocan do so in the following way:

  1. If the files are already encrypted, there should be a "nifi.bootstrap.sensitive.key=..." line in the bootstrap.conf (i.e. have access to the original key), otherwise you have to manually replace all encrypted data (sensitive properties and flow configuration) with their original, unencrypted values (or some other new value)
  2. If present, rename the "nifi.bootstrap.sensitive.key=..." property in bootstrap.conf to "nifi.bootstrap.sensitive.key.old=..." (i.e. add ".old" suffix to the property name)
  3. If you have a specific encryption key you would like to use, add it to the bootstrap.conf, (add the line "nifi.bootstrap.sensitive.key=<your encryption key here>"). If you provide no encryption key (no nifi.bootstrap.sensitive.key property in bootstrap.conf, or no bootstrap.conf at all), a new key will be randomly generated and written to bootstrap.conf.
  4. Re-run the encrypt-config tool.

...