/
Overriding Encryption/Decryption Key from the Key Manager

Overriding Encryption/Decryption Key from the Key Manager

You can override an encryption/decryption key 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 at runtime.
  2. Set the context variable Service.DataSecurityActivityName.privateKeyPassword  to override the private key password.

  • For Encryption and Decryption Data Security, the key is Public and Private respectively.
  • You must provide the password in plain text format.

 

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

where,

DataSecurityActivityName is name of Data Security activity.

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

Related content

Data Security
More like this
Data Security
More like this
Secret Key
More like this
Data Security
More like this
Creating Secret Key
Creating Secret Key
More like this
Secret Key
More like this