How to generate or transform headers WS-Security (Passwordigest) SOAP?

Hello community, it is a pleasure to be working with KONG, we have 1 week of research for our goal, but we have not yet achieved our goal.

Our goal is to take the credentials that OAuth grants and to implement them in the header of the request to a SOAP endpoint, with the Passwordigest security

The service is shown as follows: