Forum Discussion
notdosom
Apr 23, 2024Copper Contributor
Invoke-Webrequest using secure string
Hello everyone, here is my question, I can't find anything online nor will AI help me (Might be my fault tho) So I want to use some Invoke-Webrequest cmdlts, but I first have to login to the websit...
Andres-Bohren
Apr 28, 2024Iron Contributor
Hi notdosom
You already use a HTTPS Connection and the Website receives the Username/Password in a HTTPS POST.
The Website needs to be able to read your password in order to Verify if it is correct. Webservers do not understand SecretString - therefore that can not work.
I guess that's just how it is.
Kind Regards
Andres