I'm looking for some good practice.
I have a Powershell script that will execute an action on another system using selected user/password combo (for a handful of users). My first thought was to use simple CSV together with the script, but maybe there's some better way to do this?
EDIT: Seems you all think I'm overcomplicating this, but I'm really not :-)
I am making a script, hosted on server not accessible by teammembers, that reaches out to 3rd party API that uses keys, and the keys need to be user per-member for accountability.
On the other end, the script reaches out to the support system, and from there is takes name of teammember.
Looks pretty much like this: helpdesk <- script -> 3rd party API
In other words, noone touches the script by hand (it's ran from Task Scheduler), but the script needs to ID whose request it's processing, then read appropriate API key and use this key to perform action on 3rd party server.
I think that using CSV in this case will suffice (entire account from which the script runs is EFS-encrypted), but wanted to ask how to actually code it in a nice way in PS.