title: How to secure API authentication details in powershell and python scripts
body: <p>So I use both Powershell and Python for accessing and working with APIs as part of my scripts.</p>
  
  <p>But the problem is that I have to type in the user and pass etc, and leave it there in the script. Currently the only thing I do is quite literally leave an base128 encoding of the credentials typed in the script with a line decoding it afterwords.</p>
  
  <p>I dont want to have to have to type my password in a dialogue box since this is meant for quick automation with many APIs. And the scripts+resources are to be portable, meaning I take them to multiple other computers and just run it as is.</p>
  
  <p>How do I make it more secure with my requirements?
  Is there something like a lastpass type thing for programming/API with which I can retrieve the appropriate credentials, possibly even from a network folder/database?</p>
  
  <p>Any help would be great.</p>
  
  <p>Thanks</p>