I am using my octopus API key in a powershell script. Is there a way to hide the key. I am hardcoding it in the below command.
At the moment I have hardcoded the API key into my script. I would prefer if I could use a way of hiding it and maybe getting the APIKEY from the location it is stored. Is there anything like this in Powershell?
ConvertJsonToFile "C:\Users\90L6\Downloads\express-ordering-web-
variables.json" "C:\Users\QVL6\Downloads" "http://octopus.elims-
nglocal/api" "API-TYUYDHICUWS6RTURGDHBN789789"