Hi Dhanunjay -
PGP encryption is to basically ensure the security of the files that are imported to and exported from Onboarding.
There are scenarios where the New Hire data export file has to be sent to a third party system via an SFTP. To ensure the security of this file, the customers/users can avail the PGP encryption option.
Here's how it works:
For export files, the user uploads the customer or third party public key. The system then uses that key to encrypt the file before it is exported. The file can only be decrypted with the corresponding private key.
For import files, the user generates a public key, then provides the public key to the customer or third party, who uses it to encrypt files intended for import. The system decrypts the file with the corresponding private key.
Note: When a user generates a public key in the UI, a new corresponding private key is generated, and the old one is overwritten. You cannot decrypt files encrypted with the old key once the private key is overwritten.
Hope it helps, Thanks!