Skip to main content
New Participant
Jun 24, 2024 8:10 AM UTC
Question

How to add third party credentials for Plug Ins

I'm trying to use encryptvalue() and decryptvalue() in my existing rule. The purpose of using this function is to encrypt a value before inserting to Appian Cloud Database and decrypt a value when reading it from Appian Cloud Database. When trying to use encryptvalue(), I got an error saying ```Expression evaluation error at function 'encryptvalue' [line 2]: This plug-in [com.appiansolutionengineering.encryption] is not registered to access secured values for the given external system key [encryptdecryptkey]. Check the external systems plug-ins list in the Administration Console.``` Currently, I don't have any third party credentials nor Plug-Ins registered. How to use encryptvalue() and is there any other work around for encrypting data in Appian Cloud Database?

5 replies

New Participant
Jun 24, 2024 8:51 AM UTC

Tried following the link above, but got this connection failed. From where should I get the value for credentials here?

Brainy
Jun 24, 2024 9:25 AM UTC

See if following helpful:

encryptvalue("This is test string", "encryptdecryptkey", "key")

New Participant
Jul 1, 2024 10:38 PM UTC

Hello Yogi, Do you know what i need to generate a key for encryption Plugin?
I generate one on a page of internet but i dont know if theres a program or code to impletement a random bit generator (RBG);

Brainy
Jul 2, 2024 3:32 AM UTC
You can use any String as a Key. This key will be used to encrypt and decrypt data.
It should be masked. Anyone with this key can decrypt data. Also, if you forget it, you will not be able to decrypt any existing encrypted data encrypted with that key.