The CreatorCon Call for Content is officially open! Get started here.

How to decrypt the password2 (2 way encryption) field in flow designer action?

MugTm09
Giga Guru

Hello everyone.

 

I tried to pass the OAuth key in the REST STEP of the flow action, but when I checked the logs, it appears to be passed as *****. Does anyone know how to resolve this?

MugTm09_0-1760511732557.png

MugTm09_1-1760511857241.png

 

1 ACCEPTED SOLUTION

@MugTm09 

the access token will go as plain text and you need not worry about encryption or decryption of that.

yes the Flow REST Step works that way OOTB

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

MugTm09
Giga Guru

Thank you!
As a result of our verification, we found that it wasn't even necessary to pass it as a header. While it may vary case by case, it's likely that in REST API actions, the credential to be used is specified before setting the content, so the specified credential is already being used at that point.