[ https://issues.apache.org/jira/browse/NIFI-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325802#comment-17325802 ]
David Handermann commented on NIFI-8445: ---------------------------------------- Reviewing the Spring {{VaultTemplate}}, the {{write()}} method supports Objects and the {{read}} method supports generics, so it would be better to have the wrapping interface provide a similar level of flexibility instead of limiting the representation to String. > Implement HashicorpVaultCommunicationService > -------------------------------------------- > > Key: NIFI-8445 > URL: https://issues.apache.org/jira/browse/NIFI-8445 > Project: Apache NiFi > Issue Type: Sub-task > Reporter: Joseph Gresock > Priority: Minor > > Suggest using Spring's VaultTemplate to expose an initial set of > Vault-related methods that can be later expanded. > Should take the following configuration: > # Vault address (e.g., [https://localhost:8200|https://localhost:8200/]) > # TLS configuration (used only if address is https) > # Properties file location for configuring Vault Authentication Method > Should expose the initial methods: > * encrypt(String transitKey, String plainText) > * decrypt(String transitKey, String cipherText) > This service should be able to be used initially in the NiFi core code and > Encrypt-Config tool code, and should eventually be made available to the NiFi > Registry code. -- This message was sent by Atlassian Jira (v8.3.4#803005)