Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

You can override an encryption/decryption key from the Key Manager at runtime. Use PGP type KeyManager in Data Security for encrypting/decrypting the key.

Follow these steps to override key:

  1. Set the Base64 Public/Private encoded key in String Format in context variable Service.DataSecurityActivityName.keyInStringFormat and follow these steps at runtime:
    Get the key String.
  2. Decode the Base64 String into actual key String.
  3. Covert it into PGP Key and use it for encrypting/decrypting.
  4. Set the context variable Service.DataSecurityActivityName.privateKeyPassword  to override the private key password.

Info
If
  • For Encryption and Decryption Data Security
activity is Encryption then
  • , the key is
a public else private
  • Public and Private respectively.
Info
  • You must provide the password in plain text format.
Do not save the Service variables in context info file

 

You can use Context Variable to put Context in variable. For more help, refer to the below image:

Image Added

where,

DataSecurityActivityName is name of Data Security activity.

Info
You can use any utility to encode the key into Base64.