Use Case: Here, We will download a csv file using FTP connection and encrypt the file using Stage action and then write the file using FTP connection and then read the encrypted the file using FTP connection and decrypt the file using Stage and write again to file location using FTP.
Implementation steps:
Step1: First We must have imported the PGP private and public keys to settings certificates.
https://soalicious.blogspot.com/2021/08/oic-import-pgp-keys-to-use-in-stage.html
Step2: Download the file using FTP connection.
Step3: Encrypt the file using PGP public key using Stage. Provide folllwing details:
File Name: Any name of the encrypted file.
Output Directory: logical directory like /writeEncrypt
PGP key to encrypt: public key
Step4: Write the file to a location and map the stage encrypted response file ref to write file reference.
Step6: Drag and drop a Stage and decrypt the file. Provide the following details:
File Reference: Read file reference
File Name: any name for decryption.
Output Directory: logical one like /writeDecrypt
PGP key to decrypt: private key
No comments:
Post a Comment