Question
Accenture Brazil
BR
Last activity: 14 Jan 2025 13:11 EST
Decrypt a password stored in a data type
Hello, Pega Community,
I need help decrypting a password stored in a data type in the Pega Platform. The password was encrypted using Pega's encryption functionality, and I need to display the decrypted password in a property for a specific use case.
I attempted to use the @decryptPropertyValue()
function in a Data Transform, but it didn't work as expected. The decryption either fails silently or doesn't produce the expected output.
Here are the details of my setup:
- The password is stored in a text property called
.Pass
in a data type. - I tried setting
.DecryptedPassword
to the result of@decryptPropertyValue(.Pass)
in a Data Transform. - Encryption keys are managed through the default Pega platform settings.