How to deal with password in watcher

I am using watcher with webhook to login an IM tool which can only put username and password in payload as a SOAP message.
Thus, I cannot benefit from password field encryption in HTTP basic authentication block.
May I know if there is any solution to avoid storing the plain password in watcher? e.g. any hash functions/ put the password in keystore

Thanks a lot.

Hi @janice - Welcome to our communiy forums!

You may want to check our documentation about Encrypting sensitive data in Watcher.

I hope that helps.

Hello, thanks for your reply. Is it only applicable to "password" field? Thanks.

@janice - Yes it is only applicable for the password (as mentioned in our documentation). For your reference, this is the encryption code.