alopresto commented on a change in pull request #3542: NIFI-6363 Integrates AWS
KMS SPP. Refactors SSPP.
URL: https://github.com/apache/nifi/pull/3542#discussion_r296364129
##########
File path:
nifi-toolkit/nifi-toolkit-encrypt-config/src/main/groovy/org/apache/nifi/properties/ConfigEncryptionTool.groovy
##########
@@ -873,12 +877,14 @@ class ConfigEncryptionTool {
}
String decryptLoginIdentityProviders(String encryptedXml, String
existingKeyHex = keyHex) {
- AESSensitivePropertyProvider sensitivePropertyProvider = new
AESSensitivePropertyProvider(existingKeyHex)
+ SensitivePropertyProvider sensitivePropertyProvider =
StandardSensitivePropertyProvider.fromKey(existingKeyHex)
try {
def doc = getXmlSlurper().parseText(encryptedXml)
// Find the provider element by class even if it has been renamed
def passwords = doc.provider.find { it.'class' as String ==
LDAP_PROVIDER_CLASS }.property.findAll {
+ // TODO: Update filter to include AWS identifier
Review comment:
Possibly to be done as subtask (needs new Jira).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services