Potential Suggestion
Opened this issue · 0 comments
ryanfog commented
I was just turned onto this project from a blog post on a different site. I also haven't even looked at how you do your credentials in the latest version.
I also connect to over 12 different tenants a day and use PowerShell as often as possible. I store all of my usernames and password in XML now and it makes life very easy and secure since it is tied to just that machine.
To create the XML file you would do something like:
$Creds = Get-Credential
$Creds | Export-Clixml -Path C:\Temp\Tenant.xml
To retrieve the credential later on, it could look like this:
$Creds = Import-Clixml -Path C:\Temp\Tenant.xml
Hope that helps. I plan on spending more time reviewing what you have created in the future.