forked from opensearch-project/flow-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encrypt/Decrypt template credentials (opensearch-project#197)
* added RegisterRemoteModelStep and tests Signed-off-by: Joshua Palis <[email protected]> * Adding RegisterLocalModelStep, fixing tests, adding input/ouput definitions to workflow step json Signed-off-by: Joshua Palis <[email protected]> * Fixing javadoc warnings, fixing log message Signed-off-by: Joshua Palis <[email protected]> * Addressing PR comments,making description field optional for RegisterRemoteModelStep and RegisterLocalModelStep Signed-off-by: Joshua Palis <[email protected]> * moving modelConfig builder before adding allConfig Signed-off-by: Joshua Palis <[email protected]> * initial implementation Signed-off-by: Joshua Palis <[email protected]> * Fixing create workflow transport action Signed-off-by: Joshua Palis <[email protected]> * Removing duplicate register_remote_model validator Signed-off-by: Joshua Palis <[email protected]> * Adding bouncy castle dependency to resolve encryption issue Signed-off-by: Joshua Palis <[email protected]> * Fixing CreateWorkflowTransportActionTests Signed-off-by: Joshua Palis <[email protected]> * Adding initial unit tests for encryptor utils Signed-off-by: Joshua Palis <[email protected]> * Implemented encryption/decryption for workflow node user inputs with credential Signed-off-by: Joshua Palis <[email protected]> * Addressing PR comments Signed-off-by: Joshua Palis <[email protected]> * Suppressing unchecked warning, making credential strings constants Signed-off-by: Joshua Palis <[email protected]> * Removing setMasterKey from initializeMasterKey method Signed-off-by: Joshua Palis <[email protected]> * Adding final template encryption decryption test Signed-off-by: Joshua Palis <[email protected]> * Addressing PR comments, changing master key index name to config, fixes error messages as well. Added create time field to config index, ensured that updates are also encrypted Signed-off-by: Joshua Palis <[email protected]> * Added TODO Signed-off-by: Joshua Palis <[email protected]> * changing getMasterKeyIndexMapping method name Signed-off-by: Joshua Palis <[email protected]> * Removing unnecessary aws sdk dependency Signed-off-by: Joshua Palis <[email protected]> --------- Signed-off-by: Joshua Palis <[email protected]>
- Loading branch information
Showing
16 changed files
with
648 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.