Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/1686
I had to make some substantial changes to enable multiple keys for
`StaticKeyProvider`. Please exercise defining multiple keys using the following
format in `nifi.properties` (note the format is
nifi.provenance.repository.encryption.key.**id**.**keyId**):
```
nifi.provenance.repository.debug.frequency=100
nifi.provenance.repository.encryption.key.provider.implementation=org.apache.nifi.provenance.StaticKeyProvider
nifi.provenance.repository.encryption.key.provider.location=
nifi.provenance.repository.encryption.key.id=Key1
nifi.provenance.repository.encryption.key=0123456789ABCDEFFEDCBA98765432100123456789ABCDEFFEDCBA9876543210
nifi.provenance.repository.encryption.key.id.Key2=0000111122223333444455556666777788889999AAAABBBBCCCCDDDDEEEEFFFF
```
This should generate a key map of `[Key1:012...210, Key2: 000...FFF]`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---