SOAP usage of account credentials in envelope

Hi all,

I’m using the SOAP-Snap with Basic Authentication to connect to a Session token endpoint. Inside the envelop I must pass a username/password or a bear token to get a valid session token. If I put the credentials as clear text into the envelope, it works fine for me but due to security reasons it’s not useable in production.

Is there any way to use SOAP account credentials inside customize envelop in a secure manner?