We want to avoid exposing (or protecting ) user name and password in our synthetic monitor HTTP Requests.
You should use the Credential Vaults then: Credential vault — Dynatrace Docs
Thank you very much !!
Continue to the above question: how to use/add/populate the user name and password into my SOAP Header Security Tag from Vault (may be from Azure Key Vault). Example of my SOAP Header with Security Tag
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:oas=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:soap=“Redirecting…” xmlns:req=“Redirecting…”>
soapenv:Header
<wsse:Security xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”>
<wsse:UsernameToken wsu:Id=“UsernameToken-24” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>
wsse:UsernameMYUSERNAME</wsse:Username>
<wsse:Password Type=“OASIS Namespace”>
MYPASSWORD
</wsse:Password>
<wsse:Nonce EncodingType=“OASIS Namespace”/>
</wsse:UsernameToken>
</wsse:Security>
You should use the native Credential Vault from Dynatrace to use them into your synthetics.
Then you can replace the code with your vault like this:
<wsse:Username>'{CREDENTIALS_VAULT-ID|username}'</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
'{CREDENTIALS_VAULT-ID|password}'
</wsse:Password>