Thanks @maxim I have been exploring the way to encrypt the sensitive info before passing it to temporal.
I built a working solution using Jackson Crypto (https://github.com/meltmedia/jackson-crypto) and java samples of temporal.
Here find below the github sample app based on java samples: