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:
- Set the Base64 encoded key in String Format in context variable Service.DataSecurityActivityName.keyInStringFormat and follow these steps at runtime.
- Set the context variable Service.DataSecurityActivityName.privateKeyPassword to override the private key password.
If Data Security activity is Encryption then the key is a public else private.
You must provide the password in plain text format.